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

R语言 RMark包 export.chdata()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-26 23:41:11 | 显示全部楼层 |阅读模式
export.chdata(RMark)
export.chdata()所属R语言包:RMark

                                        Export capture-history data to MARK .inp format
                                         捕获历史数据导出至MARK INP格式。

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

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

Creates a MARK .inp file from processed data list that can be used to create a MARK .dbf file for use with MARK directly rather than with the RMark package.
从处理过的数据列表,可以用于创建一个使用MARK,而不是直接的RMark包MARK。dbf文件中创建一个标记inp文件。


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


  export.chdata(data, filename, covariates = NULL,
    replace = FALSE)



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

参数:data
processed data list resulting from process.data
处理过的数据列表中产生的process.data


参数:filename
quoted filename (without .inp extension)
引用的文件名(不包括扩展名为。INP)


参数:covariates
vector of names of covariate variables in data to include
的矢量数据的协变量的名称,以包括


参数:replace
if file exists and replace=TRUE, file will be over-written
如果文件存在,并且取代= TRUE,档案将被覆盖写入


Details

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

The default is to include none of the covariates in the processed data list. All of the covariates can be passed by setting covariates="all".
默认情况下是没有处理过的数据列表的协变量。所有的协变量,可以通过,协变量=“所有”。

After you have created the MARK .dbf/.fpt files with the exported .inp file, then you can use export.chdata to export models that can be imported into the MARK interface.  However note the following: ***Warning*** Make sure that you use the .inp created by export.chdata with your processed data to create the MARK .dbf file rather than using a separate similar .inp file.  It is essential that the group structure and ordering of groups matches between the .inp file and the exported models or you can get erroneous results.
当您建立的MARK .dbf / .fpt的文件,导出的。inp文件,然后你可以使用export.chdataMARK接口,可以导入到导出模型。但是注意以下几点:***警告***请确保您使用。INP export.chdata你处理的数据来创建的标记。dbf文件,而不是使用一个单独的相似。inp文件。重要的是,组组的结构和排序之间。inp文件和导出的模型相匹配,或者你可以得到错误的结果。


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

None



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



Jeff Laake




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

import.chdata
import.chdata


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


data(dipper)
dipper$numeric.sex=as.numeric(dipper$sex)-1
dipper.processed=process.data(dipper,group="sex")
export.chdata(dipper.processed, filename="dipper",
         covariates="numeric.sex",replace=TRUE)
#[]
# Had sex been used in place of numeric.sex in the above command,[如果在上面的命令中使用的numeric.sex性,]
# MARK would have been unable to use it as a covariate[MARK就无法使用它作为一个协]
# because it is not a numeric field[因为它不是一个数值字段]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-13 23:55 , Processed in 0.019288 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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