outputSGP(SGP)
outputSGP()所属R语言包:SGP
Output student data and SGP results for a variety of purposes
各种用途的输出学生数据和SGP的结果
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Utility function used to export student data and SGP results for a variety of purposes. Current functionality exports data in wide format for data visualization purposes. See source code for detailed functionality.
的效用函数,用于导出的学生数据和各种用途的SGP的结果。目前的功能出口数据在宽屏幕格式的数据可视化的目的。查看源代码的详细功能。
用法----------Usage----------
outputSGP(sgp_object,
state=NULL,
output.type=c("LONG_Data", "WIDE_Data"),
baseline.sgps=FALSE,
outputSGP_SUMMARY.years=NULL,
outputSGP_SUMMARY.content_areas=NULL,
outputSGP_INDIVIDUAL.years=NULL,
outputSGP_INDIVIDUAL.content_areas=NULL,
outputSGP.anonymize=FALSE,
outputSGP.student.groups=NULL,
outputSGP.directory="Data")
参数----------Arguments----------
参数:sgp_object
An object of class SGP containing data to be exported.
一个SGP的类的对象包含数据的出口。
参数:state
Acronym for which state is to be used for the lagged projections and growth to standard analyses. Function will try to guess state name from passed sgp_object is missing.
缩写是用于滞后的标准分析预测和增长的状态。通过sgp_object缺少功能会尝试猜测国家的名称。
参数:years
A vector indicating the years to be included in the output. Default is to use all years.
指示年的向量被包含在输出中。默认是使用所有年份。
参数:content_areas
A vector indicating the content areas to be included in the output. Default is to use all content areas.
指示的内容区域被包含在输出中的向量。默认是使用的所有内容。
参数:output.type
A character vector indicating what output type is requested. Currently LONG_Data, WIDE_Data, and SchoolView are supported modes of output. LONG_Data exports the contents of the @Data slot in a pipe delimited format. WIDE_Data exports a reshaped version of the @Data slot where each row is a unique student record. SchoolView exports tables used for representation in SchoolView. The default exports LONG_Data and WIDE_Data.
一个字符向量,指示输出类型要求。目前LONG_Data,WIDE_Data和SchoolView支持的输出模式。 LONG_Data的内容导出的@数据插槽的管道分隔的格式。 WIDE_Data出口重整的版本@数据时隙,每一行是一个独特的学生记录。 SchoolView出口的表用于表示在SchoolView的。默认出口LONG_Data和WIDE_Data。
参数:baseline.sgps
Boolean vector indicating whether to output baseline SGPs for cohorts referenced SGPs.
布尔向量表示是否输出基线青稞同伙引用青稞。
参数:outputSGP_SUMMARY.years
A vector indicating the year to be used for output file construction for summary tables.
一个向量表示每年用于输出文件建设汇总表。
参数:outputSGP_SUMMARY.content_areas
A vector indicating the content areas to be used for output file construction for summary tables.
一个向量,表示用于建设汇总表输出文件的内容领域。
参数:outputSGP_INDIVIDUAL.years
A vector indicating the year to be used for output file construction for individual level file.
一个向量,表示用于个人层面文件的输出文件建设的一年。
参数:outputSGP_INDIVIDUAL.content_areas
A vector indicating the content areas to be used for output file construction for individual level file.
一个向量,表示将用于为个人文件的输出文件的建设内容领域。
参数:outputSGP.anonymize
A boolean variable indicating whether to anonymize output files.
一个布尔值,指示是否匿名输出文件的变量。
参数:outputSGP.student.groups
A list of variables to be used for student groups in individual and summary tables.
用于个人和汇总表的学生群体中的变量列表。
参数:outputSGP.directory
A a file path indicating where to save output files. Defaults to Data.
一个文件路径的显示输出文件保存的位置。默认为Data的。
值----------Value----------
Function returns an R object with data to be exported per user's desire (e.g., as a pipe delimited file).
函数返回一个R对象的每个用户的愿望要导出的数据(例如,作为管道符分隔的文件)。
(作者)----------Author(s)----------
Damian W. Betebenner <a href="mailto:dbetebenner@nciea.org">dbetebenner@nciea.org</a>
参见----------See Also----------
abcSGP, prepareSGP, analyzeSGP, combineSGP, summarizeSGP
abcSGP,prepareSGP,analyzeSGP,combineSGP,summarizeSGP
实例----------Examples----------
## Not run: [#不运行:]
outputData <- outputSGP(Demonstration_Data)
## End(Not run) [#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|