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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|