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

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

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

                                        Coerce Hyperframe to Data Frame
                                         胁迫超帧,数据框

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

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

Converts a hyperframe to a data frame.
超帧转换到数据框。


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


## S3 method for class 'hyperframe'
as.data.frame(x, row.names = NULL,
                                  optional = FALSE, ...,
                                  discard=TRUE, warn=TRUE)



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

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


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


参数:optional
Argument passed to as.data.frame controlling what happens to row names.
参数传递给as.data.frame控制会发生什么行的名称。


参数:...
Ignored.
忽略。


参数:discard
Logical. Whether to discard columns of the hyperframe that do not contain atomic data. See Details.  
逻辑。是否丢弃不包含原子数据的特超帧的列。查看详细信息。


参数:warn
Logical. Whether to issue a warning when columns are discarded.
逻辑。列被丢弃时是否发出警告。


Details

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

This is a method for the generic function as.data.frame for the class of hyperframes (see hyperframe.
这是一个方法的通用函数as.data.frame之类的特超帧(见hyperframe。

If discard=TRUE, any columns of the hyperframe that do not contain atomic data will be removed (and a warning will be issued if warn=TRUE).  If discard=FALSE, then such columns are converted to strings indicating what class of data they originally contained.
discard=TRUE如果,任何列的超帧中不包含的原子数据将被删除(会发出警告,如果warn=TRUE)。如果discard=FALSE,那么这样的列被转换成表示类的数据,他们最初包含的字符串。


值----------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----------


  h <- hyperframe(X=1:3, Y=letters[1:3], f=list(sin, cos, tan))
  as.data.frame(h, discard=TRUE, warn=FALSE)
  as.data.frame(h, discard=FALSE)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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