Extract.ppx(spatstat)
Extract.ppx()所属R语言包:spatstat
Extract Subset of Multidimensional Point Pattern
提取子集的多维点模式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract a subset of a multidimensional point pattern.
提取的多维模式的一个子集。
用法----------Usage----------
## S3 method for class 'ppx'
x[i, ...]
参数----------Arguments----------
参数:x
A multidimensional point pattern (object of class "ppx").
多维模式(类的对象"ppx")。
参数:i
Subset index. A valid subset index in the usual R sense, indicating which points should be retained.
子集的索引。一个有效的子集指数在平时的R SENSE,这点应予以保留。
参数:...
Ignored.
忽略。
Details
详细信息----------Details----------
This function extracts a designated subset of a multidimensional point pattern.
这个函数提取一个子集的多维模式。
The function [.ppx is a method for [ for the class "ppx". It extracts a designated subset of a point pattern. The argument i should be a subset index in the usual R sense: either a numeric vector of positive indices (identifying the points to be retained), a numeric vector of negative indices (identifying the points to be deleted) or a logical vector of length equal to the number of points in the point pattern x. In the latter case, the points (x$x[i], x$y[i]) for which subset[i]=TRUE will be retained, and the others will be deleted.
函数[.ppx是[类"ppx"的方法。提取一个指定的点模式的子集。参数i应该是一个子集,在平时的R SENSE指数:可以是数字矢量的正指数(确定要保留的点),一个数值向量的负指数(确定要删除的点)或逻辑向量长度等于点图案x中的点的数量。在后一种情况下,点(x$x[i], x$y[i])subset[i]=TRUE将被保留,和其他人都将被删除。
Use the function unmark to remove marks from a marked point pattern.
使用的功能unmark删除标记一个显着的点模式。
值----------Value----------
A multidimensional point pattern (of class "ppx") in the same domain.
多维模式(类"ppx")在同一个域中。
(作者)----------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----------
ppx
ppx
实例----------Examples----------
df <- data.frame(x=runif(4),y=runif(4),z=runif(4))
X <- ppx(data=df, coord.type=c("s","s","t"))
X[-2]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|