u_char_properties(Unicode)
u_char_properties()所属R语言包:Unicode
Unicode Character Properties
Unicode字符属性
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get the properties of Unicode characters.
获取Unicode字符的属性。
用法----------Usage----------
u_char_info(x)
u_char_properties(x, which)
u_char_property(x, which)
参数----------Arguments----------
参数:x
an R object which can be coerced to a u_char vector of Unicode characters via as.u_char.
R对象可以强制通过u_char到as.u_char向量的Unicode字符。
参数:which
a character vector or string (for u_char_property), respectively, with the possibly abbreviated names of Unicode properties.
字符向量或字符串(u_char_property),分别,可能是缩写名称的Unicode属性。
值----------Value----------
For u_char_info, a data frame with variables giving the Code (Code) and the "basic" Unicode variables Name, General Category, Canonical Combining Class, Bidi Class, Decomposition, Numeric Value Decimal Digit, Numeric Value Digit, Numeric Value, Bidi Mirrored, Unicode 1 Name, ISO Comment, Simple Uppercase Mapping, Simple Lowercase Mapping, and Simple Titlecase Mapping, with names obtained by replacing white spaces by underscores (e.g., Bidi_Class.)
对于u_char_info,代码(变量给一个数据框Code)的“基本”的Unicode变量的名称,普通类,典型结合类,比迪烟类,分解,数值小数点位数,数字数值,数值,比迪烟镜像,Unicode的1名,ISO注释,简单的大写映射,简单的小写映射,和简单的标题映射,用下划线来代替空格的名称(例如,Bidi_Class。)
For u_char_properties, a data frame with the values of the specified properties, or, if no arguments were given, a character vector with the names of all currently available Unicode character properties.
对于u_char_properties,一个数据框的值指定的属性,或者,如果没有参数,一个字符向量与目前所有可用的Unicode字符属性的名称。
For u_char_property, the values of the specified property.
对于u_char_property,指定的属性的值。
注意----------Note----------
Currently, only the property values of a subset of all Unicode character properties can be obtained.
目前,只有所有的Unicode字符属性的一个子集的属性值可以得到。
参考文献----------References----------
Unicode Character Database (http://www.unicode.org/ucd/)
实例----------Examples----------
## When was the Euro sign added to Unicode?[#当欧元符号为Unicode?]
x <- u_char_from_name("EURO SIGN")
u_char_property(x, "Age")
## List the currently available Unicode character properties.[#列出当前可用的Unicode字符属性。]
u_char_properties()
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|