Learn R Programming

npde (version 3.5)

NpdeData-class: Class "NpdeData" representing the structure of the longitudinal data

Description

A longitudinal data structure

Arguments

Objects from the Class

NpdeData objects are typically created by a call to npdeData contain the following slots:

name.group

character string giving the name of the grouping term (ID)

name.predictor

character string giving the name of the predictor (X)

name.response

character string giving the name of the response (Y)

name.cens

character string giving the name of the censoring indicator in the original dataset (renamed to cens)

name.mdv

character string giving the name of the missing data indicator in the original dataset (renamed to mdv)

name.covariates

vector of character string giving the name(s) of the covariates

name.ipred

character string giving the name of the individual predictions

units

(optional) a list with the units for X, Y, and covariates

data

a dataframe containing the data

N

number of subjects

ntot.obs

total number of non-missing observations

nind.obs

vector of size N giving the number of non-missing observations for each subject

ind

index of non-missing observations

icens

index of censored observations (non-missing)

not.miss

a vector of boolean indicating for each observation whether it is missing (FALSE) or available (TRUE)

loq

the censoring value

Methods

show(npde.data):

Prints a short summary of object npde.data

qqplot.npde(npde.data):

QQ-plot for NpdeData object (TODO: change for NpdeObject in final package)

Examples

Run this code
methods(class="NpdeData")
showClass("NpdeData")

Run the code above in your browser using DataLab