找回密码
 注册
查看: 323|回复: 0

R语言 spatstat包 rescale.psp()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:05:41 | 显示全部楼层 |阅读模式
rescale.psp(spatstat)
rescale.psp()所属R语言包:spatstat

                                        Convert Line Segment Pattern to Another Unit of Length
                                         转换到另一个单位长度的线段模式

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Converts a line segment pattern dataset to  another unit of length.
转换成一个的线段模式数据集的另一种长度单位。


用法----------Usage----------


## S3 method for class 'psp'
rescale(X, s)



参数----------Arguments----------

参数:X
Line segment pattern (object of class "psp").
线段模式(类的对象"psp")。


参数: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 line segment 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 line segment pattern representing the same data but re-expressed in a different unit.
其结果是一个线段图案代表相同的数据,但在不同的单元中重新表达。

Mark values are unchanged.
标记的值是不变的。


值----------Value----------

Another line segment pattern (of class "psp"), representing the same data, but expressed in the new units.
另一条线路段模式(类"psp"),显示相同的数据,但表示在新的单位。


注意----------Note----------

The result of this operation is equivalent to the original segment pattern. If you want to actually change the coordinates by a linear transformation, producing a segment 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----------

units, affine, rotate, shift
units,affine,rotate,shift


实例----------Examples----------


   data(copper)
   X <- copper$Lines
   X
   # data are in km[数据公里]
   # convert to metres[转换为米]
   rescale(X, 1/1000)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-16 18:05 , Processed in 0.024224 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表