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

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

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

                                        Convert dataset to another unit of length
                                         将数据集转换到另一个单位的长度

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

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

Converts between different units of length in a spatial dataset, such as a point pattern or a window.
不同的长度单位在一个空间的数据集,例如作为一个点图案或窗口之间进行转换。


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


  rescale(X, s)



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

参数:X
Any suitable dataset representing a two-dimensional object, such as a point pattern (object of class "ppp"), or a window (object of class "owin").
代表一个二维对象,如一个点图案(任何合适的数据集的类的对象"ppp"),或一个窗口(类的对象"owin")。


参数:s
Conversion factor: the new units are s times the old units.
转换系数:新的单位s倍的旧单位。


Details

详细信息----------Details----------

This is generic. Methods are provided for point patterns (rescale.ppp) and windows (rescale.owin).
这是通用的。方法是点模式(rescale.ppp)和Windows(rescale.owin)。

The spatial coordinates in the dataset X will be re-expressed in terms of a new unit of length that is s times the current unit of length given in X.
的空间坐标中的数据集X将被重新表达的一个新的长度单位,是当前单元的长度在sX倍。

For example if X is a dataset giving coordinates in metres, then rescale(X,1000) will divide the coordinate values by 1000 to obtain coordinates in kilometres, and the unit name will be changed from "metres" to "1000 metres".
例如,如果X的数据集,以米为单位的坐标,然后rescale(X,1000)划分的坐标值由1000取得公里的坐标,单位名称将改为从"metres" "1000 metres"。


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

Another object of the same type, representing the same data, but expressed in the new units.
另一目的相同的类型,表示相同的数据,但在新的单位表达。


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

The result of this operation is equivalent to the original dataset. If you want to actually change the coordinates by a linear transformation, producing a dataset 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.ppp, rescale.owin, affine, rotate, shift
unitname,rescale.ppp,rescale.owin,affine,rotate,shift

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 17:45 , Processed in 0.023045 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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