estimator-model-method: Accessor for Estimators

estimator,model-methodR Documentation

Accessor for Estimators

Description

Accessor for Estimators

Usage

## S4 method for signature 'model'
estimator(object)

Arguments

object

An object of class model, whose estimator function we want access to.

Value

A fitted version of the input model class.

Examples

m <- rf_model()
fit <- estimator(m)(mpg ~ hp + wt, data = mtcars)

multimedia documentation built on Sept. 30, 2024, 9:28 a.m.