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

R语言 sos包 Extract.findFn()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:00:47 | 显示全部楼层 |阅读模式
Extract.findFn(sos)
Extract.findFn()所属R语言包:sos

                                        Subset a findFn object
                                         子集A findFn对象的

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

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

Extract rows from a findFn object
从findFn对象中提取行


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


## S3 method for class 'findFn'
x[i, j,
    drop = if (missing(i)) TRUE else length(cols) == 1]




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

参数:x
An object of class findFn
对象的类findFn


参数:i
a valid object to select rows of x, e.g., a vector of all positive integers or all negative integers between 1 and nrow(x) or a logical vector of length nrow(x).  
一个有效的对象选择行x,例如,所有的正整数或负整数1和NROW(x)或逻辑向量的的长度NROW(X)之间的一个向量。


参数:j
If not missing, the extraction function returns an object of class data.frame rather than findFn.  
如果没有丢失,提取功能会传回一个对象类data.frame而不是findFn。


参数:drop
logical:  if FALSE and j selects only one column, return that column as a vector;  else return a data.frame if j is present or a findFn object otherwise.  
逻辑:如果为FALSE和j只选择一列,该列返回一个向量,否则如果data.frame或j对象,否则返回findFn。


Details

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

1.  if(missing(j)) extract the subset with the PackageSummary attribute recomputed on the subset.
1。 (失踪(J))PackageSummary属性的子集重新计算提取的子集。

2.  else return(Extract.data.frame(x, i, j, drop))
2。否则返回(Extract.data.frame(X,I,J降))


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

If j is missing, return an object of class c('findFn', 'data.frame') else return whatever is returned by Extract.data.frame.
如果j丢失,返回一个对象,否则返回任何返回Extract.data.frameC类(findFn“,”数据框)。


(作者)----------Author(s)----------



Spencer Graves




参见----------See Also----------

findFn, data.frame
findFn,data.frame


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


  z <- findFn("spline", maxPages = 2)

  z1 <- z[1,]

  z.2 <- z[, 2]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 08:27 , Processed in 0.025115 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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