DynTree {DynForest} | R Documentation |
Grow random survival tree using multivariate longitudinal endogenous covariates
Description
Grow random survival tree using multivariate longitudinal endogenous covariates
Usage
DynTree(
Y,
Longitudinal = NULL,
Numeric = NULL,
Factor = NULL,
timeVar = NULL,
mtry = 1,
nsplit_option = "quantile",
nodesize = 1,
seed = 1234
)
Arguments
Y |
A list of output which should contain: |
Longitudinal |
A list of longitudinal predictors which should contain: |
Numeric |
A list of numeric predictors which should contain: |
Factor |
A list of factor predictors which should contain: |
timeVar |
A character indicating the name of time variable |
mtry |
Number of candidate variables randomly drawn at each node of the trees. This parameter should be tuned by minimizing the OOB error. Default is |
nsplit_option |
A character indicates how the values are chosen to build the two groups for the splitting rule (only for continuous predictors). Values are chosen using deciles ( |
nodesize |
Minimal number of subjects required in both child nodes to split. Cannot be smaller than 1. |
seed |
Seed to replicate results |