R语言对象属性attr()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:attr()
R语言函数功能:对象属性
来自资源库:基础库(R语言自带)
attr()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Get or set specific attributes of an object.
获取或设置对象的特定属性。
使用方法-----Usage-----
attr(x, which, exact = FALSE)
attr(x, which) <- value
参数-----Arguments-----
参数x介绍: an object whose attributes are to be accessed.
要访问其属性的对象。
参数which介绍: a non-empty character string specifying which attribute is to be accessed.
一个非空字符串,指定要访问的属性。
参数exact介绍: logical: should which be matched exactly?
逻辑:which应该完全匹配吗?
参数value介绍: an object, the new value of the attribute, or NULL to remove the attribute.
一个对象,属性的新值,或删除属性的NU
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|