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

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

[复制链接]
发表于 2012-2-25 18:46:06 | 显示全部楼层 |阅读模式
genescale(genefilter)
genescale()所属R语言包:genefilter

                                        Scales a matrix or vector.
                                         尺度矩阵或向量。

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

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

genescale returns a scaled version of the input matrix m by applying the following formula to each column of the matrix:
genescale返回的输入矩阵m的缩小版本,采用下列公式计算矩阵的每一列:


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


genescale(m, axis=2, method=c("Z", "R"), na.rm=TRUE)



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

参数:m
Input a matrix or a vector with numeric elements.  
输入一个矩阵或矢量的数字元素。


参数:axis
An integer indicating which axis of m to scale.
一个整数,表示规模m轴。


参数:method
Either "Z" or "R", indicating whether a Z scaling or a range scaling should be performed.
任的“Z”或“R”的指示是否应执行的Z缩放或一个范围缩放。


参数:na.rm
A boolean indicating whether NA's should be removed.
一个布尔值,指示是否应去掉NA的。


Details

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

Either the rows or columns of m are scaled. This is done either by subtracting the mean and dividing by the standard deviation ("Z") or by subtracing the minimum and dividing by the range.
无论是行或m的列缩放。这是通过减去平均分和标准偏差(“Z”)的,或,由subtracing最低除以范围。


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

A scaled version of the input. If m is a matrix or a dataframe then the dimensions of the returned value agree with that of m, in both cases the returned value is a matrix.
输入一个缩放版本。如果m是一个matrix或dataframe然后返回值的尺寸与m,在这两种情况下返回值是一个matrix同意 。


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


R. Gentleman



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

genefinder,scale
genefinder,scale


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


  m <- matrix(1:12, 4, 3)
  genescale(m)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 02:16 , Processed in 0.020215 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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