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

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

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

                                         Combine Hyperframes by Rows or by Columns
                                         结合特超帧按行或按列

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

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

Methods for cbind and rbind for hyperframes.
cbind和rbind特超帧的方法。


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


## S3 method for class 'hyperframe'
cbind(...)
## S3 method for class 'hyperframe'
rbind(...)



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

参数:...
Any number of hyperframes (objects of class hyperframe).  
任何数量的特超帧(类的对象hyperframe)。


Details

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

These are methods for cbind and rbind for hyperframes.
这是cbind和rbind特超帧的方法。

Note that all the arguments must be hyperframes (because of the peculiar dispatch rules of cbind and rbind).
需要注意的是,所有的参数都必须是特超帧(由于特有的调度规则cbind和rbind)。

To combine a hyperframe with a data frame, one should either  convert the data frame to a hyperframe using as.hyperframe, or explicitly invoke the function cbind.hyperframe or rbind.hyperframe.
结合超帧,数据框,转换成数据框到超帧使用as.hyperframe,或显式地调用该函数cbind.hyperframe或rbind.hyperframe。

In other words: if h is a hyperframe and d is a data frame, the result of cbind(h,d) will be the same as cbind(as.data.frame(h), d), so that all hypercolumns of h will be deleted (and a warning will be issued). To combine h with d so that all columns of h are retained, type either cbind(h, as.hyperframe(d)) or cbind.hyperframe(h,d).
换句话说:如果h是一个超帧和d是一个数据框,结果cbind(h,d)将是一样cbind(as.data.frame(h), d),使所有hypercolumns X>将被删除(会发出警告)。要结合hh“这样d被保留,类型是h或cbind(h, as.hyperframe(d))的所有列。


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

Another hyperframe.
另一个超帧。


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

hyperframe, as.hyperframe
hyperframe,as.hyperframe


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


  lambda <- runif(5, min=10, max=30)
  X <- lapply(as.list(lambda), function(x) { rpoispp(x) })
  h <- hyperframe(lambda=lambda, X=X)
  g <- hyperframe(id=letters[1:5], Y=rev(X))
  gh <- cbind(h, g)
  hh <- rbind(h, h)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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