stratify(simFrame)
stratify()所属R语言包:simFrame
Stratify data
分层数据
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Generic function for stratifying data.
分层数据的通用函数。
用法----------Usage----------
stratify(x, design)
参数----------Arguments----------
参数:x
the data.frame to be stratified.
data.frame进行分层。
参数:design
a character, logical or numeric vector specifying the variables (columns) to be used for stratification.
一个字符,逻辑或数值向量指定要用于分层的变量(列)。
值----------Value----------
An object of class "Strata".
对象的类"Strata"。
方法----------Methods----------
x = "data.frame", design = "BasicVector" stratify data
x = "data.frame", design = "BasicVector"分层数据
(作者)----------Author(s)----------
Andreas Alfons
参见----------See Also----------
"Strata"
"Strata"
实例----------Examples----------
data(eusilcP)
strata <- stratify(eusilcP, c("region", "gender"))
summary(strata)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|