u.log(sfsmisc)
u.log()所属R语言包:sfsmisc
(Anti)Symmetric Log High-Transform
(反)对称登录变换
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute log() only for high values and keep low ones – antisymmetrically such that u.log(x) is (once) continuously differentiable, it computes f(x) = x for |x| <= c and sign(x)*c*(1 + log(|x|/c)) for |x| >= c.
计算log()只为高值和低的 - 反对称u.log(x)(一次)连续可微的,它计算f(x) = x|x| <= c和sign(x)*c*(1 + log(|x|/c)) |x| >= c。
用法----------Usage----------
u.log(x, c = 1)
参数----------Arguments----------
参数:x
numeric vector to be transformed.
数字矢量进行改造。
参数:c
scalar, > 0
标,> 0
值----------Value----------
numeric vector of same length as x.
数字矢量相同的长度,x。
(作者)----------Author(s)----------
Martin Maechler, 24 Jan 1995
实例----------Examples----------
curve(u.log, -3, 10); abline(h=0, v=0, col = "gray20", lty = 3)
curve(1 + log(x), .01, add = TRUE, col= "brown") # simple log[简单的log]
curve(u.log(x, 2), add = TRUE, col=2)
curve(u.log(x, c= 0.4), add = TRUE, col=4)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|