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

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

[复制链接]
发表于 2012-9-30 13:10:45 | 显示全部楼层 |阅读模式
as.hyperframe.ppx(spatstat)
as.hyperframe.ppx()所属R语言包:spatstat

                                         Extract coordinates and marks of multidimensional point pattern
                                         提取坐标和标志多维点模式

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

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

Given any kind of spatial or space-time point pattern, extract the coordinates and marks of the points.
在什么样的空间或空间点模式,提取的点的坐标和标志。


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


## S3 method for class 'ppx'
as.hyperframe(x, ...)
## S3 method for class 'ppx'
as.data.frame(x, ...)
## S3 method for class 'ppx'
as.matrix(x, ...)



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

参数:x
A general multidimensional space-time point pattern  (object of class "ppx").  
一般的多维空间,时间点模式(类的对象"ppx")。


参数:...
Ignored.  
忽略。


Details

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

An object of class "ppx" (see 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, and any number of mark variables. The individual marks may be atomic (numeric values, factor values, etc) or objects of any kind.
类的一个对象"ppx"(见ppx)是一个显着的模式在多维空间和/或时间点。“可以有任意数量的空间坐标中,任何数量的时间坐标,并且任何数量的标记变量。个别标记可能是原子(数字值,因素值等)或任何类型的对象。

The function as.hyperframe.ppx extracts the coordinates and the marks as a "hyperframe" (see hyperframe) with one row of data for each point in the pattern. This is a method for the generic function as.hyperframe.
功能as.hyperframe.ppx提取的坐标和马克"hyperframe"(见hyperframe)用一个行模式中的每一个点的数据。这是一个方法的通用函数as.hyperframe。

The function as.data.frame.ppx discards those mark variables which are not atomic values, and extracts the coordinates and the remaining marks as a data.frame with one row of data for each point in the pattern. This is a method for the generic function as.data.frame.
功能as.data.frame.ppx丢弃那些标记变量不是原子值,并提取作为data.frame用一个行的数据模式中的每一个点的坐标及剩余的标记。这是一个方法的通用函数as.data.frame。

Finally as.matrix(x) is equivalent to as.matrix(as.data.frame(x)) for an object of class "ppx". Be warned that, if there are any columns of non-numeric data (i.e. if there are mark variables that are factors), the result will be a matrix of character values.
最后as.matrix(x)是相当于as.matrix(as.data.frame(x))为对象的类"ppx"。警告说,如果有任何列的非数字数据(也就是说,如果有标记变量的因素),结果将是一个矩阵的字符值。


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

A hyperframe, data.frame or matrix as appropriate.
Ahyperframe,data.frame或matrix。


(作者)----------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, hyperframe, as.hyperframe.
ppx,hyperframe,as.hyperframe。


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


   df <- data.frame(x=runif(4),y=runif(4),t=runif(4))
   X <- ppx(data=df, coord.type=c("s","s","t"))
   as.data.frame(X)
   val <- 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))
   as.hyperframe(Z)
   as.data.frame(Z)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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