Skip to contents

These methods are provided to avoid flooding the console with long nested lists containing tree structures. Note

Usage

# S3 method for class 'rpf_forest'
print(x, ...)

# S3 method for class 'rpf_forest'
str(object, ...)

Arguments

x

Object of class rpf_forest

...

Further arguments passed to or from other methods.

object

Object of class rpf_forest

See also

Examples


rpfit <- rpf(mpg ~ cyl + wt, data = mtcars, ntrees = 10)
print(rpfit$forest)
#> <rpf_forest> of 10 trees
str(rpfit$forest)
#> <rpf_forest> of 10 trees