checking {DynForest} | R Documentation |
Internal checking function
Description
Internal checking function
Usage
checking(
DynForest_obj = NULL,
timeData,
fixedData,
idVar,
timeVar,
timeVarModel,
Y,
ntree = 200,
mtry = 1,
nodesize = 1,
minsplit = 2,
cause = 1
)
Arguments
DynForest_obj |
A |
timeData |
A data.frame containing the id and time measurements variables and the time-dependent predictors. |
fixedData |
A data.frame containing the id variable and the time-fixed predictors. Non-continuous variables should be characterized as factor. |
idVar |
A character indicating the name of variable to identify the subjects |
timeVar |
A character indicating the name of time variable |
timeVarModel |
A list for each time-dependent predictors containing a list of formula for fixed and random part from the mixed model |
Y |
A list of output which should contain: |
ntree |
Number of trees to grow. Default value set to 200. |
mtry |
Number of candidate variables randomly drawn at each node of the trees. This parameter should be tuned by minimizing the OOB error. |
minsplit |
(Only with survival outcome) Minimal number of events required to split the node. Cannot be smaller than 2. |
cause |
(Only with competing events) Number indicates the event of interest. |