找回密码
 注册
查看: 605|回复: 0

R语言 Biobase包 listLen()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 13:21:58 | 显示全部楼层 |阅读模式
listLen(Biobase)
listLen()所属R语言包:Biobase

                                        Lengths of list elements
                                         列表中的元素的长度

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function returns an integer vector with the length of the elements of its argument, which is expected to be a list.
此函数返回一个整数向量与它的参数,预计将是一个列表的元素的长度。


用法----------Usage----------


listLen(x)



参数----------Arguments----------

参数:x
A list
一个列表


Details

详情----------Details----------

This function returns a vector of the same length as the list x containing the lengths of each element.
这个函数返回一个相同长度的向量作为列表x包含的每个元素的长度。

The current implementation is intended for lists containing vectors and the C-level length function is used to determine length.  This means no dispatch is done for the elements of the list.  If your list contains S4 objects, you should use sapply(x, length) instead.
目前实施的目的是为含向量和C级的长度函数是用来确定长度的名单。这意味着没有调度列表中的元素。如果您的列表包含S4对象,你应该使用sapply(x, length)代替。


作者(S)----------Author(s)----------


Jeff Gentry and R. Gentleman



参见----------See Also----------

sapply
sapply


举例----------Examples----------


  foo = lapply(1:8, rnorm)
  listLen(foo)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-3 17:09 , Processed in 0.026132 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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