SaemixData-class(saemix)
SaemixData-class()所属R语言包:saemix
Class "SaemixData"
类“SaemixData”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
An object of the SaemixData class, representing a longitudinal data structure, used by the SAEM algorithm.
的一个目的的SaemixData类,表示的长度的数据结构,用于由SAEM算法。
类对象----------Objects from the Class----------
An object of the SaemixData class can be created by using the function saemixData
可以创建的SaemixData类的一个目的通过使用函数saemixData
插槽----------Slots----------
name.data:Object of class "character": name of the dataset
name.data:对象类"character":数据集的名称
header:Object of class "logical": whether the dataset/file contains a header. Defaults to TRUE
header:类的对象"logical":数据集/文件是否包含一个头。默认为true
sep:Object of class "character": the field separator character
sep:类"character":的字段分隔符字符的对象
na:Object of class "character": a character vector of the strings which are to be interpreted as NA values
na:类的对象"character":一个字符的字符串将被解释为NA值向量
name.group:Object of class "character": name of the column containing the subject id
name.group:类的对象"character"的列名包含主题ID
name.predictors:Object of class "character": name of the column(s) containing the predictors
name.predictors类的对象"character":列的名称(S)的预测
name.response:Object of class "character": name of the column containing the response variable y modelled by predictor(s) x
name.response:类的对象"character":的列包含响应变量y的预测建模(S)的名称所述
name.covariates:Object of class "character": name of the column(s) containing the covariates, if present (otherwise empty)
name.covariates:类的对象"character":包含协变量名称的列(S),如果存在的话(否则空)
name.X:Object of class "character": name of the column containing the regression variable to be used on the X axis in the plots
name.X:类的对象"character":名称列在图上使用的X轴的回归变量
units:Object of class "list": list with up to three elements, x, y and optionally covariates, containing the units for the X and Y variables respectively, as well as the units for the different covariates
units:对象类"list":列表中最多三个元素,x,y和任选的协变量,含有分别为X和Y变量的单位,以及不同的协变量的单位
tab:Object of class "data.frame": dataframe containing the data
tab:类的对象"data.frame":数据框包含的数据
N:Object of class "numeric": number of subjects
N:对象类"numeric":一些科目
index:Object of class "numeric": subject index
index:对象类"numeric":标的指数
id:Object of class "character": subject id data
id对象的类"character":对象ID数据
xind:Object of class "data.frame": predictors data (eg dose, time)
xind:对象类"data.frame"的预测数据(如剂量,时间)
y:Object of class "numeric": response data
y:对象的类"numeric":响应数据
yorig:Object of class "numeric": response data, on the original scale
yorig:类"numeric":响应数据的对象,在原有规模
cov:Object of class "data.frame": covariates, if present in the model (otherwise empty)
cov:类"data.frame":协变量的对象,如果模型中存在(空)
ntot.obs:Object of class "numeric": total number of observations
ntot.obs:对象类"numeric":总数意见
nind.obs:Object of class "numeric": vector containing the number of observations for each subject
nind.obs:类的对象"numeric":矢量为每个主题包含若干意见
方法----------Methods----------
[<-signature(x = "SaemixData"): replace elements of object
[< - signature(x = "SaemixData"):替换元素的对象
[signature(x = "SaemixData"): access elements of object
[signature(x = "SaemixData"):访问元素的对象
initializesignature(.Object = "SaemixData"): internal function to initialise object, not to be used
初始化signature(.Object = "SaemixData"):内部功能初始化对象,不使用
plotsignature(x = "SaemixData"): plot the data
图signature(x = "SaemixData"):绘制数据
printsignature(x = "SaemixData"): details about the object
打印signature(x = "SaemixData")对象的详细介绍
read.saemixDatasignature(object = "SaemixData"): internal function, not to be used
read.saemixDatasignature(object = "SaemixData"):内部函数,不使用
showallsignature(object = "SaemixData"): all the elements in the object
SHOWALL signature(object = "SaemixData")的对象:所有元素
showsignature(object = "SaemixData"): details about the object
显示signature(object = "SaemixData"):对象的详细介绍
summarysignature(object = "SaemixData"): summary of the data
总结signature(object = "SaemixData")的数据汇总
(作者)----------Author(s)----------
Emmanuelle Comets <emmanuelle.comets@inserm.fr>, Audrey Lavenu, Marc Lavielle.
参考文献----------References----------
Monolix32_UsersGuide.pdf (http://software.monolix.org/sdoms/software/)
参见----------See Also----------
saemixData,SaemixModel, saemixControl,saemix
saemixData,SaemixModel,saemixControl,saemix
实例----------Examples----------
showClass("SaemixData")
# Specifying column names[指定列名]
data(theo.saemix)
saemix.data<-saemixData(name.data=theo.saemix,header=TRUE,sep=" ",na=NA,
name.group=c("Id"),name.predictors=c("Dose","Time"),
name.response=c("Concentration"),name.covariates=c("Weight","Sex"),
units=list(x="hr",y="mg/L",covariates=c("kg","-")), name.X="Time")
# Specifying column numbers[指定的列数]
data(theo.saemix)
saemix.data<-saemixData(name.data=theo.saemix,header=TRUE,sep=" ",na=NA,
name.group=1,name.predictors=c(2,3),name.response=c(4), name.covariates=5:6,
units=list(x="hr",y="mg/L",covariates=c("kg","-")), name.X="Time")
# No column names specified, using automatic recognition of column names[没有指定的列名,使用自动识别的列名]
data(PD1.saemix)
saemix.data<-saemixData(name.data=PD1.saemix,header=TRUE,
name.covariates=c("gender"),units=list(x="mg",y="-",covariates=c("-")))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|