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 Oct. 28, 2024, 6:30 a.m.