A plot of tree depth over iterations.

treeDepth(trees)

Arguments

trees

A list of tree attributes created using the extractTreeData function.

Value

A plot of average tree depths over iteration

Examples

if (FALSE) {
df_trees <- extractTreeData(model = my_model, data = my_data)
treeDepth(trees = df_trees)
}