rescale.owin(spatstat)
rescale.owin()所属R语言包:spatstat
Convert Window to Another Unit of Length
将窗口转换到另一个单位长度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converts a window to another unit of length.
转换一个窗口到另一个单位的长度。
用法----------Usage----------
## S3 method for class 'owin'
rescale(X, s)
参数----------Arguments----------
参数:X
Window (object of class "owin").
窗口(类的对象"owin")。
参数:s
Conversion factor: the new units are s times the old units.
转换系数:新的单位s倍的旧单位。
Details
详细信息----------Details----------
This is a method for the generic function rescale.
这是一个方法的通用函数rescale。
The spatial coordinates in the window X (and its window) will be re-expressed in terms of a new unit of length that is s times the current unit of length given in X. (Thus, the coordinate values are divided by s, while the unit value is multiplied by s).
在窗口中的空间坐标X(和它的窗口)将被重新表达的在一个新的单元的长度是s倍的电流给定的长度单位在X。 (因此,坐标值除以s,而单位价值乘以s,)。
The result is a window representing the same region of space, but re-expressed in a different unit.
其结果是一个窗口,占空间的相同区域,但在不同的单元中的重新表达。
值----------Value----------
Another window object (of class "owin") representing the same window, but expressed in the new units.
在同一个窗口,另一个窗口对象(类"owin"),但表示在新的单位。
注意----------Note----------
The result of this operation is equivalent to the original window. If you want to actually change the coordinates by a linear transformation, producing a window that is larger or smaller than the original one, use affine.
此操作的结果是相当于原来的窗口。如果你想真正改变坐标的线性变换,产生一个窗口,是大于或小于原来的,使用affine。
(作者)----------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----------
unitname, rescale, rescale.owin, affine, rotate, shift
unitname,rescale,rescale.owin,affine,rotate,shift
实例----------Examples----------
data(swedishpines)
W <- swedishpines$window
W
# coordinates are in decimetres (0.1 metre)[坐标是分米(0.1米)]
# convert to metres[转换为米]
rescale(W, 10)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|