Internal checking function
checking(
DynForest_obj = NULL,
timeData,
fixedData,
idVar,
timeVar,
timeVarModel,
Y,
ntree = 200,
mtry = 1,
nodesize = 1,
minsplit = 2,
cause = 1
)
A DynForest
object resulting from DynForest()
function
A data.frame containing the id and time measurements variables and the time-dependent predictors.
A data.frame containing the id variable and the time-fixed predictors. Non-continuous variables should be characterized as factor.
A character indicating the name of variable to identify the subjects
A character indicating the name of time variable
A list for each time-dependent predictors containing a list of formula for fixed and random part from the mixed model
A list of output which should contain: type
defines the nature of the output, can be "surv
", "scalar
" or "factor
"; Y
is the output variable; id
is the vector of the identifiers for each individuals, they should be the same as the identifiers of the inputs.
Number of trees to grow. Default value set to 200.
Number of candidate variables randomly drawn at each node of the trees. This parameter should be tuned by minimizing the OOB error.
(Only with survival outcome) Minimal number of events required to split the node. Cannot be smaller than 2.
(Only with competing events) Number indicates the event of interest.