R语言列表-通用对和虚线对alist()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:alist()
R语言函数功能:列表-通用对和虚线对
来自资源库:基础库(R语言自带)
alist()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Functions to construct, coerce and check for both kinds of R lists.
用于构造,强制和检查两种R列表的函数。
使用方法-----Usage-----
list(...)
pairlist(...)
as.list(x, ...)
## S3 method for class 'environment' S3 method for class 'environment'
as.list(x, all.names = FALSE, sorted = FALSE, ...)
as.pairlist(x)
is.list(x)
is.pairlist(x)
alist(...)
参数-----Arguments-----
参数...介绍: objects, possibly named.
对象,可能命名。
参数x介绍: object to be coerced or tested.
强制或测试的对象。
参数all.names介绍: a logical indicating whether to copy all values or (default) only those whose names do not begin with a dot.
一个逻辑值,指示是复制所有值还是仅复制名称不以点开头的值(默认)。
参数sorted介绍: a logical indicating whether the names of the resulting list should be sorted (increasingly). Note that this is somewhat costly, but may be useful for comparison of environments.
逻辑指示结果列表的names是否应排序(递增)。请注意,这有点昂贵,但是对于比较环境可能很有用。
详情-----Details-----
Almost all lists in R internally are Generic Vectors, whereas traditional dotted pair lists (as in LISP) remain available but rarely seen by users (except as formals of functions).
内部R中的几乎所有列表都是Generic Vectors,而传统dotted pair中的列表(如LISP)仍然可用,但用户很少看到(功能formals除外)。
The arguments to list or pairlist are of the form value or tag = value. The functions return a list or dotted pair list composed of its arguments with each value either tagged or untagged, depending on how the argument was specified.
list或pairlist的参数格式为value或tag = value。这些函数返
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|