Learn R Programming

DynForest (version 1.1.3)

var_split_factor: Split function to build the two daughter nodes from factor predictor

Description

Split function to build the two daughter nodes from factor predictor

Usage

var_split_factor(X, Y, cause = 1, nodesize = 1)

Arguments

X

Input data

Y

Outcome data

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.