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

R语言 simPopulation包 spCdf()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:14:28 | 显示全部楼层 |阅读模式
spCdf(simPopulation)
spCdf()所属R语言包:simPopulation

                                         (Weighted empirical) cumulative distribution function
                                         (加权的经验)累计分布函数

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

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

Compute a (weighted empirical) cumulative distribution function for survey  or population data.  For survey data, sample weights are taken into account.
计算(的加权经验)的累积分布函数为调查或人口数据。调查数据显示,样本权重考虑。


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


spCdf(x, weights = NULL, approx = FALSE, n = 10000)



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

参数:x
a numeric vector.
一个数值向量。


参数:weights
an optional numeric vector containing sample weights.
一个可选的数字向量的样本权重。


参数:approx
a logical indicating whether an approximation of the cumulative  distribution function should be computed.
一个逻辑指示是否应计算的累积分布函数的近似。


参数:n
a single integer value; if approx is TRUE, this  specifies the number of points at which the approximation takes place  (see approx).
一个整数值,如果approx是TRUE,指定点的数量近似的地方(见approx)。


Details

详细信息----------Details----------

Sample weights are taken into account by adjusting the step height.  To be  precise, the weighted step height for an observation is defined as its weight  divided by the sum of all weights.
样本权重被考虑在内,通过调整的台阶高度。为了精确,加权步骤用于观察的高度被定义为它的重量的总和除以所有的重量.

If requested, the approximation is performed using the function  approx.
如果有要求,近似使用的功能approx。


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

A list of class "spCdf" with the following components:
类"spCdf"以下组件的列表:


参数:x
a numeric vector containing the x-coordinates.
一个数字矢量包含x的坐标。


参数:y
a numeric vector containing the y-coordinates.
一个数字矢量包含y的坐标。


参数:approx
a logical indicating whether the coordinates represent an  approximation.
逻辑指示是否坐标表示一个近似。


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



Andreas Alfons and Stefan Kraft




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

spCdfplot, ecdf,  approx
spCdfplot,ecdf,approx


实例----------Examples----------


data(eusilcS)
cdfS <- spCdf(eusilcS$netIncome, weights = eusilcS$rb050)
plot(cdfS, type="s")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 00:06 , Processed in 0.025333 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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