print.multiflashlight: Prints a multiflashlight

View source: R/print_multiflashlight.R

print.multiflashlightR Documentation

Prints a multiflashlight

Description

Print method for an object of class "multiflashlight".

Usage

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

Arguments

x

An object of class "multiflashlight".

...

Further arguments passed to print.flashlight().

Value

Invisibly, the input is returned.

See Also

multiflashlight()

Examples

fit_lm <- lm(Sepal.Length ~ ., data = iris)
fit_glm <- glm(Sepal.Length ~ ., family = Gamma(link = log), data = iris)
fl_lm <- flashlight(model = fit_lm, label = "lm")
fl_glm <- flashlight(model = fit_glm, label = "glm")
multiflashlight(list(fl_lm, fl_glm), data = iris)

flashlight documentation built on May 31, 2023, 6:19 p.m.