scaletointerval(spatstat)
scaletointerval()所属R语言包:spatstat
Rescale Data to Lie Between Specified Limits
重新缩放的数据介于指定的限制
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Rescales a dataset so that the values range exactly between the specified limits.
重新调整的数据集的值的范围正中间指定的限制范围之内。
用法----------Usage----------
scaletointerval(x, from=0, to=1)
## Default S3 method:
scaletointerval(x, from=0, to=1)
## S3 method for class 'im'
scaletointerval(x, from=0, to=1)
参数----------Arguments----------
参数:x
Data to be rescaled.
被重新调整的数据。
参数:from,to
Lower and upper endpoints of the interval to which the values of x should be rescaled.
下部和上部的终结点的时间间隔的值x应重新调节。
Details
详细信息----------Details----------
These functions rescale a dataset x so that its values range exactly between the limits from and to.
这些功能重新调整的数据集x所以它的值的范围正是之间的限制from和to。
The method for pixel images (objects of class "im") applies this scaling to the pixel values of x.
像素图像的方法(类的对象的"im")这个缩放应用于x的像素值。
Rescaling cannot be performed if the values in x are not interpretable as numeric, or if the values in x are all equal.
标度,不能进行中的值x是无法解释为数字,或如果该值在x都是平等的。
值----------Value----------
An object of the same type as x.
相同类型的x一个目的。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
scale
scale
实例----------Examples----------
X <- as.im(function(x,y) {x+y+3}, unit.square())
summary(X)
Y <- scaletointerval(X)
summary(Y)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|