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

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

[复制链接]
发表于 2012-2-26 00:10:35 | 显示全部楼层 |阅读模式
robustCorr(maigesPack)
robustCorr()所属R语言包:maigesPack

                                         Calculate a robust correlation value
                                         计算一个强大的相关值

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

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

This function is intended to calculate robust correlation values between pairs of rows of numerical matrix or between two numerical vectors.
此功能旨在对数值矩阵的行之间或强大的两个数值向量之间的相关值来计算。


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


robustCorr(x, y=NULL)



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

参数:x
numerical matrix or vector. If a matrix the method calculates the robust correlations between all pairs of rows. If x is a vector, y must be specified as another vector of same length as x and the robust correlation between them is calculate.
数值矩阵或向量。如果一个矩阵的方法计算对所有行之间的强大关联。 x如果是一个向量,y必须指定另一个相同长度的向量为x和它们之间的强劲相关计算。


参数:y
optional numeric vector, must be specified if x is a vector.
可选的数字向量,必须指定x如果是一个向量。


Details

详情----------Details----------

This function calculates a robust correlation value in a procedure similar to the leave-one-out used for cross-validation of classification results. The algorithm removes one point at a time and calculates a usual Pearson correlation value. Them, with a vector r of correlation values that has the same length as the columns of x (or vectors x and y), the algorithm decides by the min(r) or max(r), according with that one that is more distant from the median value.
这个功能强大的相关值计算过程中的类似休假交叉验证分类结果一出来,。该算法消除在一个时间点,并计算出一个普通的Pearson相关值。他们,用向量r作为x列长度相同(或向量的相关值x和y),该算法决定的min(R)或max(R),一个是从中间值更遥远的根据。


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

If x is a matrix, the method return a list with two square matrices, the first one containing the robust correlation values between all pairs of rows from x and the second containing the index of the point removed from calculation. If x is a vector, y must be specified and the function return a list with the robust correlation value between them and the index of the point removed.
如果x是一个矩阵,该方法返回两个方阵,第一个健壮的相关值之间的所有行对含有x,第二个包含删除点的索引列表计算。 x如果是一个向量,y必须指定函数返回列表中的强大的相关值,它们之间的和删除点的指数。


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



Gustavo H. Esteves &lt;<a href="mailto:gesteves@vision.ime.usp.br">gesteves@vision.ime.usp.br</a>&gt;




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

cor from package stats.
cor包统计。


举例----------Examples----------


x <- runif(50, 0, 1)
y <- rbeta(50, 1, 2)
robustCorr(x, y)

z <- matrix(rnorm(100, 0, 1), 4, 25)
robustCorr(z)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 06:50 , Processed in 0.029187 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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