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

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

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

                                         Distance Map
                                         距离图

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

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

Compute the distance map of an object, and return it as a pixel image. Generic.
计算的对象的距离的图,并返回它作为一个像素的图像。通用。


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


  distmap(X, ...)



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

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


参数:...
Arguments passed to as.mask to control pixel resolution.  
参数传递给as.mask控制像素的分辨率。


Details

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

The &ldquo;distance map&rdquo; of a set of points A is the function f whose value f(x) is defined for any two-dimensional location x as the shortest distance from x to A.
的“距离图”的一组点A的功能是f其值f(x)被定义为任何二维位置x的最短距离从 x到A。

This function computes the distance map of the set X and returns the distance map as a pixel image.
此函数计算距离映射的设置X返回的距离映射为一个像素的图像。

This is generic. Methods are provided for point patterns (distmap.ppp), line segment patterns  (distmap.psp) and windows (distmap.owin).
这是通用的。方法提供了点模式(distmap.ppp),线段模式(distmap.psp)和Windows(distmap.owin)。


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

A pixel image (object of class "im") whose grey scale values are the values of the distance map.
像素的图像(类的对象"im")的灰度值是距离映射的值。


(作者)----------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----------

distmap.ppp, distmap.psp, distmap.owin, distfun
distmap.ppp,distmap.psp,distmap.owin,distfun


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


  data(cells)
  U <- distmap(cells)
  data(letterR)
  V <- distmap(letterR)
  ## Not run: [#不运行:]
  plot(U)
  plot(V)
  
## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-14 10:42 , Processed in 0.019823 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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