设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 847|回复: 0

R语言将字符串令牌捕获到data.frame中strcapture()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:15:06 | 显示全部楼层 |阅读模式
        R语言将字符串令牌捕获到data.frame中strcapture()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:strcapture()
R语言函数功能:将字符串令牌捕获到data.frame中
来自资源库:基础库(R语言自带)
strcapture()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

描述-----Description-----

Given a character vector and a regular expression containing capture expressions, strcapture will extract the captured tokens into a tabular data structure, such as a data.frame, the type and structure of which is specified by a prototype object. The assumption is that the same number of tokens are captured from every input string.
给定一个字符向量和一个包含捕获表达式的正则表达式,strcapture会将捕获的标记提取到表格数据结构中,例如data.frame,其类型和结构由原型对象指定。假定从每个输入字符串捕获相同数量的令牌。


使用方法-----Usage-----

strcapture(pattern, x, proto, perl = FA
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 21:37 , Processed in 0.035666 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表