Learn R Programming

idem (version 2.2)

idem-parameters: List of parameters for idem analysis

Description

The parameters used by most of the functions in idem are organized as a list. These parameters include variable names in the analysis dataset, endpoint specification, duration of the study, etc..

Arguments

trt

Variable name for the Control (0) and Intervention (1) treatment assignments in the dataset.

surv

Variable name for the survival (time to event) variable in the dataset.

outcome

Chronologically ordered vector of variable names for clinical outcomes in the dataset excluding baseline.

y0

Variable name of the baseline clinical outcome.

cov

Vector of variable names for the covariates used in the imputation procedure for missing clinical outcomes.

endfml

R expression indicating the user-specified final outcome of interest. This is the function for \(Z\) of one or more of \(Y_k\)'s.

duration

Length of the study. This is the time at which subjects' are assumed to be censored.

bounds

Numeric vector of lower and upper bounds for subjects' imputed clinical outcomes.

trt.label

label of the treatment arms

unitTime

Unit of time measurement for survival and function outcome time points

Examples

Run this code
# NOT RUN {
## for example abc dataset

lst.var <- list(trt="TRT", surv="SURV", outcome=c("Y1","Y2"),
                y0=NULL, endp=c("Y2"),
                trt.label = c("UC+SBT", "SAT+SBT"),
                cov=c("AGE"), endfml="Y2",
                duration=365, bounds=c(0,100));


# }

Run the code above in your browser using DataLab