设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 897|回复: 0

R语言列表-通用对和虚线对alist()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-20 22:40:01 | 显示全部楼层 |阅读模式
        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%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-21 03:18 , Processed in 0.025326 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表