inclusionProb(simFrame)
inclusionProb()所属R语言包:simFrame
Inclusion probabilities
包含概率
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get the first-order inclusion probabilities from a vector of probability weights.
获取从概率加权的矢量的一阶包含概率。
用法----------Usage----------
inclusionProb(prob, size)
参数----------Arguments----------
参数:prob
a numeric vector of non-negative probability weights.
非负概率加权的一个数值向量。
参数:size
a non-negative integer giving the sample size.
一个非负的整数,给出样本大小。
值----------Value----------
A numeric vector of the first-order inclusion probabilities.
一个数值向量的一阶包含概率。
注意----------Note----------
This is a faster C++ implementation of inclusionprobabilities from package sampling.
这是一个更快inclusionprobabilities包samplingC + +实现。
(作者)----------Author(s)----------
Andreas Alfons
参见----------See Also----------
setup, "SampleSetup"
setup,"SampleSetup"
实例----------Examples----------
pweights <- sample(1:5, 25, replace = TRUE)
inclusionProb(pweights, 10)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|