rtModBag-methods: rtModBag S3 methods

rtModBag-methodsR Documentation

rtModBag S3 methods

Description

S3 methods for rtModBag class that differ from those of the rtMod superclass

Usage

## S3 method for class 'rtModBag'
predict(object, newdata, aggr.fn = NULL, n.cores = 1, verbose = FALSE, ...)

Arguments

object

rtModBag object

newdata

Testing set features

aggr.fn

Character: Function to aggregate models' prediction. If NULL, defaults to "median"

n.cores

Integer: Number of cores to use

verbose

Logical: If TRUE, print messages to console.

...

Not used


egenn/rtemis documentation built on Aug. 30, 2024, 7:20 p.m.