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

R语言 spatstat包 as.data.frame.ppp()函数中文帮助文档(中英文对照)

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

                                        Coerce Point Pattern to a Data Frame
                                         强制转换点模式到数据框

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

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

Extracts the coordinates of the points in a point pattern, and their marks if any, and returns them in a data frame.
提取的点图案中的点的坐标,和他们的标志,如果没有,并将它们返回一个数据框中。


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


## S3 method for class 'ppp'
as.data.frame(x, row.names = NULL, ...)



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

参数:x
Point pattern (object of class "ppp").
点模式(类的对象"ppp")。


参数:row.names
Optional character vector of row names.
可选的字符向量的行名。


参数:...
Ignored.
忽略。


Details

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

This is a method for the generic function as.data.frame for the class "ppp" of point patterns.
这是一种通用功能as.data.frame类"ppp"点模式。

It extracts the coordinates of the points in the point pattern, and returns them as columns named x and y in a data frame. If the points were marked, the marks are returned as a column named marks with the same type as in the point pattern dataset.
提取中的点的坐标点模式,并返回列名为x和y在一个数据框。如果被标记的点,标记被返回作为名为marks中的点图案数据集具有相同类型的列。


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

A data frame.
一个数据框。


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




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


  data(amacrine)
  df <- as.data.frame(amacrine)
  df[1:5,]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 16:32 , Processed in 0.496662 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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