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

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

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

                                         Make Periodic Copies of a Spatial Pattern  
                                         定期副本的空间格局

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

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

Given a spatial pattern (point pattern, line segment pattern, window, etc) make shifted copies of the pattern and optionally combine them to make a periodic pattern.
给定一个空间格局(点格局,线段模式,窗口等)转移的模式副本,并,任意结合他们的周期规律。


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


periodify(X, ...)
## S3 method for class 'ppp'
periodify(X, nx = 1, ny = 1, ...,
           combine=TRUE, warn=TRUE, check=TRUE,
           ix=(-nx):nx, iy=(-ny):ny,
           ixy=expand.grid(ix=ix,iy=iy))
## S3 method for class 'psp'
periodify(X, nx = 1, ny = 1, ...,
           combine=TRUE, warn=TRUE, check=TRUE,
           ix=(-nx):nx, iy=(-ny):ny,
           ixy=expand.grid(ix=ix,iy=iy))
## S3 method for class 'owin'
periodify(X, nx = 1, ny = 1, ...,
           combine=TRUE, warn=TRUE,
           ix=(-nx):nx, iy=(-ny):ny,
           ixy=expand.grid(ix=ix,iy=iy))



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

参数:X
An object representing a spatial pattern (point pattern, line segment pattern or window).  
空间格局的对象(点格局,线段模式或窗口)。


参数:nx,ny
Integers. Numbers of additional copies of X in each direction. (Overruled by ix, iy, ixy).  
整数。数字的其他副本X在每个方向上。 (推翻ix, iy, ixy)。


参数:...
Ignored.  
忽略。


参数:combine
Logical flag determining whether the copies should be superimposed to make an object like X (if combine=TRUE) or simply returned as a list of objects (combine=FALSE).  
逻辑标志确定是否应叠加的副本之类的物件X(如果combine=TRUE)或简单地返回对象的列表(combine=FALSE)。


参数:warn
Logical flag determining whether to issue warnings.  
逻辑决定是否发出警告标志。


参数:check
Logical flag determining whether to check the validity of the combined pattern.  
逻辑决定是否要检查的有效性组合图案标志。


参数:ix, iy
Integer vectors determining the grid positions of the copies of X. (Overruled by ixy).  
整数向量决定的副本X的发车位置。 (推翻ixy)。


参数:ixy
Matrix or data frame with two columns, giving the  grid positions of the copies of X.   
有两列的矩阵或数据框,给电网的副本X位置。


Details

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

Given a spatial pattern (point pattern, line segment pattern, etc) this function makes a number of shifted copies of the pattern and optionally combines them. The function periodify is generic, with methods for various kinds of spatial objects.
给定一个空间格局(点格局,线段模式等),这使得一些转移的模式副本,并有选择地将它们组合。函数periodify是通用的,与空间对象的各种方法。

The default is to make a 3 by 3 array of copies of X and combine them into a single pattern of the same kind as X. This can be used (for example) to compute toroidal or periodic edge corrections for various operations on X.
默认情况下是一个3×3阵列的副本X,然后将它们合并成一个单一的模式相同类型的X。这可以用于(例如)来计算上进行各种操作的环形或定期边缘校正X。

If the arguments ix, iy or ixy are specified, then these determine the grid positions of the copies of X that will be made. For example (ix,iy) = (1, 2) means a copy of X shifted by the vector (ix * w, iy * h) where w,h are the width and height of the bounding rectangle of X.
如果参数ix,iy或ixy指定,然后这些确定的发车位置X将要进行的副本。例如(ix,iy) = (1, 2)是指文件的X偏移向量(ix * w, iy * h)其中w,h是的X的边框的宽度和高度。

If combine=TRUE (the default) the copies of X are superimposed to create an object of the same kind as X. If combine=FALSE the copies of X are returned as a list.
如果combine=TRUE(默认值)的副本X叠加,创建一个对象的相同类型的X。如果combine=FALSEX的副本作为一个列表返回。


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

If combine=TRUE, an object of the same class as X. If combine=FALSE, a list of objects of the same class as X.
如果combine=TRUE,同一个类的对象作为X。如果combine=FALSE,同一个类的对象的列表X。


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

shift
shift


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


  data(cells)
  plot(periodify(cells))
  a <- lapply(periodify(cells$window, combine=FALSE),
        plot, add=TRUE,lty=2)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 17:50 , Processed in 0.027385 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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