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–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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|