trans_new(scales)
trans_new()所属R语言包:scales
Create a new transformation object.
创建一个新的转型对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A transformation encapsulates a transformation and its inverse, as well as the information needed to create pleasing breaks and labels. The breaks function is applied on the transformed range of the range, and it's expected that the labels function will perform some kind of inverse tranformation on these breaks to give them labels that are meaningful on the original scale.
A转换封装转换和逆,以及所需要的信息,以创建令人满意的截断和标签。截断函数施加的范围内的变换范围内,它的预期,标签函数将执行一些种逆魏宏给他们原有规模上是有意义的标签,在这些场所。
用法----------Usage----------
trans_new(name, transform, inverse,
breaks = pretty_breaks(), format = format_format(),
domain = c(-Inf, Inf))
参数----------Arguments----------
参数:name
transformation name
转变名
参数:transform
function, or name of function, that performs the transformation
功能,或功能的名称,即执行转换
参数:inverse
function, or name of function, that performs the inverse of the transformation
功能,或功能的名称,即执行的变换的逆
参数:breaks
default breaks function for this transformation. The breaks function is applied to the raw data.
默认情况下,截断的功能对于这种转变。场所函数被应用到原始数据。
参数:format
default format for this transformation. The format is applied to breaks generated to the raw data.
这种转变的默认格式。的格式被施加场所产生的原始数据。
参数:domain
domain, as numeric vector of length 2, over which transformation is valued
域,数字矢量的长度为2,转型的价值
参见----------See Also----------
asn_trans, atanh_trans, boxcox_trans, date_trans, exp_trans, identity_trans, log10_trans, log1p_trans, log2_trans, log_trans, logit_trans, probability_trans, probit_trans, reciprocal_trans, reverse_trans, sqrt_trans, time_trans
asn_trans,atanh_trans,boxcox_trans,date_trans,exp_trans,identity_trans,log10_trans,log1p_trans,log2_trans,log_trans,logit_trans,probability_trans,probit_trans,reciprocal_trans,reverse_trans,sqrt_trans,time_trans
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|