Predict the leaf by dropping down the subject in the tree
pred.MMT(
tree,
Longitudinal = NULL,
Numeric = NULL,
Factor = NULL,
timeVar = NULL
)
Tree object resulting from Rtmax_surv
function
A list of longitudinal predictors which should contain: X
a dataframe with one row for repeated measurement and as many columns as markers; id
is the vector of the identifiers for the repeated measurements contained in X
; time
is the vector of the measurement times contained in X
.
A list of numeric predictors which should contain: X
a dataframe with as many columns as numeric predictors; id
is the vector of the identifiers for each individual.
A list of factor predictors which should contain: X
a dataframe with as many columns as factor predictors; id
is the vector of the identifiers for each individual.
A character indicating the name of time variable