A longitudinal data structure
NpdeData objects are typically created by a call to npdeData
contain the following slots:
character string giving the name of the grouping term (ID)
character string giving the name of the predictor (X)
character string giving the name of the response (Y)
character string giving the name of the censoring indicator in the original dataset (renamed to cens)
character string giving the name of the missing data indicator in the original dataset (renamed to mdv)
vector of character string giving the name(s) of the covariates
character string giving the name of the individual predictions
(optional) a list with the units for X, Y, and covariates
a dataframe containing the data
number of subjects
total number of non-missing observations
vector of size N giving the number of non-missing observations for each subject
index of non-missing observations
index of censored observations (non-missing)
a vector of boolean indicating for each observation whether it is missing (FALSE) or available (TRUE)
the censoring value
Prints a short summary of object npde.data
QQ-plot for NpdeData object (TODO: change for NpdeObject in final package)
methods(class="NpdeData")
showClass("NpdeData")
Run the code above in your browser using DataLab