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

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

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

                                         Multidimensional Space-Time Point Pattern
                                         多维空间的时间点模式

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

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

Creates a multidimensional space-time point pattern with any kind of coordinates and marks.
创建任何种坐标和马克一个多维空间的时间点图案。


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


ppx(data, domain=NULL, coord.type=NULL)



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

参数:data
The coordinates and marks of the points. A data.frame or hyperframe.  
的点的坐标和标志。 Adata.frame或hyperframe。


参数:domain
Optional. The space-time domain containing the points. An object in some appropriate format, or NULL.  
可选。包含的点的空间 - 时间域。一些适当的格式,或NULL中的对象。


参数:coord.type
Character vector specifying how each column of data should be interpreted: as a spatial coordinate, a temporal coordinate, a local coordinate or a mark. Entries are partially matched to the values "spatial", "temporal", "local" and "mark".  
字符向量确定每一列data应解释为:作为空间坐标,时间坐标,局部坐标或标记。文章部分匹配的值"spatial","temporal","local"和"mark"。


Details

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

An object of class "ppx" represents a marked point pattern in multidimensional space and/or time. There may be any number of spatial coordinates, any number of temporal coordinates, any number of local coordinates, and any number of mark variables. The individual marks may be atomic (numeric values, factor values, etc) or objects of any kind.
一个对象的类"ppx"的是一个显着的模式在多维空间和/或时间点。空间坐标,可以有任意数量的,任何数量的时间坐标,局部坐标系的任意数量的,并且任何数量的标记变量。个别标记可能是原子(数字值,因素值等)或任何类型的对象。

The argument data should contain the coordinates and marks of the points. It should be a data.frame or more generally a hyperframe (see hyperframe) with one row of data for each point.
参数data应包含的点的坐标和标志。它应该是一个data.frame或更普遍的一个hyperframe(见hyperframe)有一排每个点的数据。

Each column of data is either a spatial coordinate, a temporal coordinate, a local coordinate, or a mark variable. The argument coord.type determines how each column is interpreted. It should be a character vector, of length equal to the number of columns of data. It should contain strings that partially match the values "spatial", "temporal", "local" and "mark". (The first letters will be sufficient.)
的每列data是空间坐标,时间坐标,一个局部坐标系,或标记变量。参数coord.type确定每个列的解释。它应该是一个字符向量的长度等于data的列数。它应该包含部分的值相匹配的字符串"spatial","temporal","local"和"mark"。 (第一个字母就足够了。)

By default (if coord.type is missing or NULL), columns of numerical data are assumed to represent spatial coordinates, while other columns are assumed to be marks.
默认情况下(如果coord.type被丢失或NULL),列的数值数据被假定为代表空间坐标,而其他列都被假定为马克。


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

An object of class "ppx".
对象的类"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----------

pp3, print.ppx
pp3,print.ppx


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


   df <- data.frame(x=runif(4),y=runif(4),t=runif(4),
                    age=rep(c("old", "new"), 2),
                    size=runif(4))
   X <- ppx(data=df, coord.type=c("s","s","t","m","m"))
   X

   val <- 20 * runif(4)
   E <- lapply(val, function(s) { rpoispp(s) })
   hf <- hyperframe(t=val, e=as.listof(E))
   Z <- ppx(data=hf, domain=c(0,1))
   Z

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 16:36 , Processed in 0.024211 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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