Returns the average number of terminal nodes for trees in a forest

avSize(forest)

Arguments

forest

A model returned by splineForest()

Value

The average number of terminal nodes in forest

Examples

avSize(forest)
#> [1] 5.6