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

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

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

                                        Methods for returning the last parts of an object
                                         返回一个对象的最后部分的方法

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

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

Return the last parts of an object.
返回对象的最后部分。


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


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

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

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

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

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

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

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

## S4 method for signature 'VirtualSampleControl'
tail(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 last parts of set up  samples. The last n indices of each of the last k set up
signature(x = "SampleSetup")返回的最后部分成立的样品。上一次的n指数,其中每个的最后k成立




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




signature(x = "SimResults") returns the last parts of  simulation results.  The method of tail for the
signature(x = "SimResults")返回的最后部分仿真结果。 tail的方法




signature(x = "Strata") returns the last parts of strata  information.  The method of tail for the vector in  slot values is thereby called and the slots split and
signature(x = "Strata")返回的最后部分地层信息。的方法tail为向量在插槽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----------

tail, "SampleSetup",  "SimResults", "Strata"
tail,"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 last 10 indices of each of the last 5 samples[得到最后的最后5个样品,每个10指数]
tail(set, k = 5, n = 10)

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

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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