box(flowClust)
box()所属R语言包:flowClust
Box-Cox Transformation
Box-Cox变换
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function performs Box-Cox transformation on the inputted data matrix.
这个函数执行输入数据矩阵Box-Cox变换。
用法----------Usage----------
box(data, lambda)
参数----------Arguments----------
参数:data
A numeric vector, matrix or data frame of observations. Negative data values are permitted.
观测数值向量,矩阵或数据框。允许负数据值。
参数:lambda
The transformation to be applied to the data. If negative data values are present, lambda has to be positive.
被应用到数据的转变。如果负数据值都存在,lambda要积极。
Details
详情----------Details----------
To allow for negative data values, a slightly modified version of the original Box-Cox (1964) is used here. This modified version originated from Bickel and Doksum (1981), taking the following form:
允许负数据值,稍微修改了原包装盒,考克斯(1964)版本是用在这里。这个修改后的版本源于Bickel和Doksum的(1981年),采取下列形式:
When negative data values are involved, the transformation parameter, \code{lambda}, has to be positive in order to avoid discontinuity across zero.
负数据值时,转换参数,\code{lambda},是积极的,以避免跨零间断。
值----------Value----------
A numeric vector, matrix or data frame of the same dimension as data is returned.
data相同尺寸的数值向量,矩阵或数据框返回。
参考文献----------References----------
参见----------See Also----------
rbox
rbox
举例----------Examples----------
data(rituximab)
data <- exprs(rituximab)
summary(data)
# Transform data using Box-Cox with lambda=0.3[数据转换,用λ= 0.3箱考克斯]
dataTrans <- box(data, 0.3)
# Reverse transform data; this should return back to the original rituximab data[逆向转换数据;这应该返回到原来的利妥昔单抗数据]
summary(rbox(dataTrans, 0.3))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|