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

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

[复制链接]
发表于 2012-9-30 01:35:45 | 显示全部楼层 |阅读模式
col01scale(sfsmisc)
col01scale()所属R语言包:sfsmisc

                                        Matrix Scaling Utilities
                                         矩阵缩放公用事业

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

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

col01scale and colcenter (re)scale the columns of a matrix.  These are simple one-line utilities, mainly with a didactical purpose.
col01scale和colcenter(RE)的规模矩阵的列。这些都是简单的行实用程序,主要是用了教学的目的。


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


colcenter (mat)
col01scale(mat, scale.func = function(x) diff(range(x)), location.func = mean)



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

参数:mat
numeric matrix, to rescaled.
数字矩阵,重新调整。


参数:scale.func, location.func
two functions mapping a numeric vector to a single number.
两个函数一个数值向量映射到一个单一的数字。


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

a matrix with the same attributes as the input mat.
矩阵具有相同属性的输入mat。


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


Martin Maechler



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

The standard R function scale().
标准的R函数scale()。


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


## See the simple function definitions:[#简单的函数定义:]

colcenter ## simply one line[#只是一个线]

col01scale# almost as simple[几乎一样简单]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-21 05:45 , Processed in 0.078618 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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