var_split_long {DynForest} | R Documentation |
Split function to build the two daughter nodes from longitudinal predictors
Description
Split function to build the two daughter nodes from longitudinal predictors
Usage
var_split_long(
X,
Y,
timeVar = NULL,
nsplit_option = "quantile",
cause = 1,
nodesize = 1,
init = NULL
)
Arguments
X |
Input data |
Y |
Outcome data |
timeVar |
A character indicating the name of time variable |
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 ( |
cause |
(Only with competing events) Number indicates the event of interest. |
nodesize |
Minimal number of subjects required in both child nodes to split. Cannot be smaller than 1. |
init |
(Optional) Initial values for linear mixed models |
[Package DynForest version 1.1.3 Index]