panelCor(MiChip)
panelCor()所属R语言包:MiChip
Add Pearson Correlation value to plots
Pearson相关值添加到图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Adds a pearson correlation value to the scatter plots
添加Pearson相关值的散点图
用法----------Usage----------
panelCor(x,y, digits=2, prefix="r=")
参数----------Arguments----------
参数:x
matrix of x values
x值的矩阵
参数:y
matrix of y values to correlate with x
y值与x关联矩阵
参数:digits
number of digits to display
位数显示
参数:prefix
The string prefix that should be display on the scatterplot panel
字符串的前缀应该是显示散点图面板上
举例----------Examples----------
#Calculate the median of a matrix omiting NAs[计算一个矩阵omiting NAS的中位数]
## Not run: [#无法运行:]
panelCor(x,y, digits=2, prefix="r=")
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|