subSpecials(useful)
subSpecials()所属R语言包:useful
Sub special characters out of character vectors.
子的特殊字符的特征向量。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converts each of the special characters to their escaped equivalents in each element of each vector.
转换的特殊字符逃脱等值每一个向量的每个元素。
用法----------Usage----------
subSpecials(...,
specialChars = c("!", "(", ")", "-", "=", "*", "."))
参数----------Arguments----------
参数:...
Character vectors that will be altered by subbing the special characters with their escaped equivalents
特征向量将改变替补逃脱等值的特殊字符
参数:specialChars
The characters to be subbed out
的字符替补
Details
详细信息----------Details----------
Each element in the specialChar vector is subbed for its escaped equivalent in each of the elements of each vector passed in
传递的其转义相当于在每个矢量的每个元素为底涂在specialChar向量的每个元素的
值----------Value----------
The provided vectors are returned with any of the defined specialChars subbed out for their escaped equivalents
提供的向量被返回与任何定义specialChars中底涂满分转义当量
(作者)----------Author(s)----------
Jared P. Lander www.jaredlander.com
参见----------See Also----------
sub subOut
subsubOut
实例----------Examples----------
subSpecials(c("Hello", "(parens)", "Excited! Mark"))
subSpecials(c("Hello", "(parens)", "Excited! Mark"), c("This is a period. And this is an asterisk *"), specialChars=c("!", "("))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|