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