pickFields(SEERaBomb)
pickFields()所属R语言包:SEERaBomb
Pick SEER fields of interest
选择SEER感兴趣的领域
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function truncates the full set of SEER data fields into a smaller set of interest.
此功能将截断的全套的SEER数据字段到一个较小的利益。
用法----------Usage----------
pickFields(sas,picks)
参数----------Arguments----------
参数:sas
A data frame created by getFields() using the SAS file found in the "incidence" directory of seerHome, the root of the SEER ASCII data installation.
创建一个数据框getFields()使用SAS文件中的“incidence目录的seerHome,SEER ASCII数据安装的根。
参数:picks
Vector of names of variables of interest. These must be in the same order as found in the input data frame sas. The default is picks=c("casenum","reg","race", "sex","agedx","yrbrth","seqnum","yrdx","histo2","histo3","radiatn", "agerec","ICD9","histrec","cssO3","numprims","survtm","COD")
矢量利益的变量的名称。 ,这些值必须在输入数据框sas中发现的相同的顺序。默认值是picks=c("casenum","reg","race","sex","agedx","yrbrth","seqnum","yrdx","histo2","histo3","radiatn","agerec","ICD9","histrec","cssO3","numprims","survtm","COD")
Details
详细信息----------Details----------
R binaries become too large if all of the fields are selected. SEERaBomb is faster than SEER*Stat
ŕ二进制文件变得太大,如果被选中的所有字段。 SEERaBomb的速度比SEER统计
值----------Value----------
The SAS-based input data frame sas, shortened to just the rows of picks, and then expanded to include spacer rows of fields of no interest pooled into single strings: the width of such a spacer row is equal to the distance in bytes between the fields of interest above and below it. This data frame is then used by laf_open_fwf() of LaF in mkSEER() to read the SEER files. It is made visible to users to allow checking of their choices. Proper use of this function, and of the SEER data in general, requires an understanding of the contents of "seerdic.pdf" in the "incidence" directory of seerHome.
SAS为基础的输入数据框sas,缩短到的行picks,然后扩大到包括间隔没有兴趣汇集成单个字符串的字段的行:这种间隔行的宽度是等于它上面和下面的领域的兴趣之间的距离(以字节为单位)。此数据框,然后使用laf_open_fwf()LaFmkSEER()阅读SEER文件,。它是可见的用户,以允许检查他们的选择。正确使用这个功能,和一般的SEER数据,需要了解的内容seerdic.pdf中的incidence目录seerHome。
注意----------Note----------
This work was supported by the National Cancer Institute and Tufts Integrative
该工作得到了美国国家癌症研究所和美国塔夫茨中西医结合
(作者)----------Author(s)----------
Tom Radivoyevitch (txr24@case.edu)
参见----------See Also----------
SEERaBomb-package, getFields, pickFields, mkSEER
SEERaBomb-package, getFields, pickFields, mkSEER
实例----------Examples----------
## Not run: [#不运行:]
library(SEERaBomb)
(df=getFields())
(df=pickFields(df))
mkSEER(df,dataset="yr1992_2009")
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|