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

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

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

                                         Weighted contingency coefficients
                                         加权应变系数

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

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

Compute (weighted) pairwise contingency coefficients.
成对应变系数计算(加权)。


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


contingencyWt(x, ...)

## Default S3 method:[默认方法]
contingencyWt(x, y, weights = NULL, ...)

## S3 method for class 'matrix'
contingencyWt(x, weights = NULL, ...)

## S3 method for class 'data.frame'
contingencyWt(x, weights = NULL, ...)



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

参数:x
for the default method, a vector that can be interpreted as factor.   For the matrix and data.frame methods, the columns should be  interpretable as factors.
默认的方法,可以被解释为一个矢量,因子。矩阵和data.frame方法,列应解释为因素。


参数:y
a vector that can be interpreted as factor.
的向量,可以被解释为因子。


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


参数:...
for the generic function, arguments to be passed down to the  methods, otherwise ignored.
的通用函数,参数传递的方法,否则忽略。


Details

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

The function tableWt is used for the computation of the  corresponding pairwise contingency tables.
用于计算相应的两两列联表的功能tableWt。


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

For the default method, the (weighted) contingency coefficient of x  and y.
默认的方法,应变系数(加权)x和y。

For the matrix and data.frame method, a matrix of (weighted) pairwise  contingency coefficients for all combinations of columns.  Elements below the  diagonal are NA.
用于矩阵和data.frame的方法,以矩阵(加权)的列的所有的组合的成对的应变系数。对角线以下的元素是NA。


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


Andreas Alfons and Stefan Kraft



参考文献----------References----------

Volume 2: Inference and Relationship. Charles Griffin & Co Ltd, London, 2nd

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

tableWt
tableWt


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


data(eusilcS)

## default method[#默认的方法]
contingencyWt(eusilcS$pl030, eusilcS$pb220a, weights = eusilcS$rb050)

## data.frame method[#数据框的方法]
basic <- c("age", "rb090", "hsize", "pl030", "pb220a")
contingencyWt(eusilcS[, basic], weights = eusilcS$rb050)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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