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

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

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

                                        Methods for returning the first parts of an object
                                         返回一个对象的第一部分的方法

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

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

Return the first parts of an object.
返回对象的第一部分。


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


## S4 method for signature 'SampleSetup'
head(x, k = 6, n = 6, ...)

## S4 method for signature 'SimControl'
head(x)

## S4 method for signature 'SimResults'
head(x, ...)

## S4 method for signature 'Strata'
head(x, ...)

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

## S4 method for signature 'VirtualDataControl'
head(x)

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

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



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

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


参数:k
for objects of class "SampleSetup", the number of set up  samples to be kept in the resulting object.
类的对象"SampleSetup",成立的样品被保存在生成的目标。


参数:n
for objects of class "SampleSetup", the number of indices  to be kept in each of the set up samples in the resulting object.
类的对象"SampleSetup",指数保持在每个样品中生成的对象的设置。


参数:...
additional arguments to be passed down to methods.
额外的参数传递的方法。


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

An object of the same class as x, but in general smaller.  See the  “Methods” section below for details.
x,但在一般较小的同一类的一个目的。 “方法”一节的详细信息。


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




signature(x = "SampleSetup") returns the first parts of set up  samples. The first n indices of each of the first k set up
signature(x = "SampleSetup")返回的第一部分成立的样品。第一n指数,其中每个所述第一k成立




signature(x = "SimControl") currently returns the
signature(x = "SimControl")返回




signature(x = "SimResults") returns the first parts of  simulation results.  The method of head for the
signature(x = "SimResults")返回的模拟结果的第一部分。 head的方法




signature(x = "Strata") returns the first parts of strata  information.  The method of head for the vector in  slot values is thereby called and the slots split and
signature(x = "Strata")返回的第一部分地层信息。的方法head为向量在插槽values从而称为和插槽split的




signature(x = "VirtualContControl") currently returns the
signature(x = "VirtualContControl")返回




signature(x = "VirtualDataControl") currently returns the
signature(x = "VirtualDataControl")返回




signature(x = "VirtualNAControl") currently returns the
signature(x = "VirtualNAControl")返回




signature(x = "VirtualSampleControl") currently returns the
signature(x = "VirtualSampleControl")返回


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


Andreas Alfons



参考文献----------References----------

Statistical Simulation: The R Package <code>simFrame</code>. Journal of  Statistical Software, 37(3), 1&ndash;36. URL  http://www.jstatsoft.org/v37/i03/.

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

head, "SampleSetup",  "SimResults", "Strata"
head,"SampleSetup","SimResults","Strata"


实例----------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)
# get the first 10 indices of each of the first 5 samples[得到的第一个10指数,其中的第一个5个样本,每个]
head(set, k = 5, n = 10)

## class "Strata"[#类“阶层”]
# set up samples using group sampling[采用整群抽样的样本]
strata <- stratify(eusilcP, "region")
summary(strata)
# get strata information for the first 10 observations[获得的第10个观察地层信息]
head(strata, 10)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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