rescale.ppp(spatstat)
rescale.ppp()所属R语言包:spatstat
Convert Point Pattern to Another Unit of Length
将点模式转换到另一种长度单位,
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converts a point pattern dataset to another unit of length.
转换点模式数据到另一个单元的长度。
用法----------Usage----------
## S3 method for class 'ppp'
rescale(X, s)
参数----------Arguments----------
参数:X
Point pattern (object of class "ppp").
点模式(类的对象"ppp")。
参数: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 point pattern 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 point pattern representing the same data but re-expressed in a different unit.
其结果是一个点图案表示相同的数据,但在不同的单元中重新表达。
Mark values are unchanged.
标记的值是不变的。
值----------Value----------
Another point pattern (of class "ppp"), representing the same data, but expressed in the new units.
另一点模式(类"ppp"),显示相同的数据,但表示在新的单位。
注意----------Note----------
The result of this operation is equivalent to the original point pattern. If you want to actually change the coordinates by a linear transformation, producing a point pattern that is not equivalent to 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----------
# Bramble Canes data: 1 unit = 9 metres[布兰布尔的手杖数据:1单位= 9米]
data(bramblecanes)
# convert to metres[转换为米]
bram <- rescale(bramblecanes, 1/9)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|