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

R语言 simFrame包 length-methods()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:42:02 | 显示全部楼层 |阅读模式
length-methods(simFrame)
length-methods()所属R语言包:simFrame

                                        Methods for getting the length of an object
                                         获取一个对象的长度的方法

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

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

Get the length of an object.
获取一个对象的长度。


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


## S4 method for signature 'SampleSetup'
length(x)

## S4 method for signature 'VirtualContControl'
length(x)

## S4 method for signature 'VirtualNAControl'
length(x)

## S4 method for signature 'VirtualSampleControl'
length(x)



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

参数:x
an object.
一个对象。


值----------Value----------

An integer giving the length of the object.  See the “Methods” section  below for details.
一个整数,给出对象的长度。 “方法”一节的详细信息。


方法----------Methods----------




signature(x = "SampleSetup") get the number of set up samples.
signature(x = "SampleSetup")得到的成立的样品数。




signature(x = "VirtualContControl") get the number of
signature(x = "VirtualContControl")得到多少




signature(x = "VirtualNAControl") get the number of missing  value rates to be used (the length in case of a vector in slot
signature(x = "VirtualNAControl")数遗漏值(在插槽中的一个向量的长度




signature(x = "VirtualSampleControl") get the number of samples
signature(x = "VirtualSampleControl")得到的样本数


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


Andreas Alfons



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

length
length


实例----------Examples----------


## load data[#加载数据]
data(eusilcP)

## class "SampleSetup"[#类“SampleSetup”]
# set up samples using group sampling[采用整群抽样的样本]
set <- setup(eusilcP, grouping = "hid", size = 1000, k = 50)
summary(set)
length(set)

## class "ContControl"[#类“ContControl”]
cc <- ContControl(target = "eqIncome",
    epsilon = c(0, 0.0025, 0.005, 0.0075, 0.01),
    dots = list(mean = 5e+05, sd = 10000))
length(cc)

## class "NAControl"[#类“NAControl”]
nc <- NAControl(target = "eqIncome", NArate = c(0.1, 0.2, 0.3))
length(nc)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 06:21 , Processed in 0.026917 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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