Print method for an object of class "multiflashlight".
# S3 method for class 'multiflashlight'
print(x, ...)
An object of class "multiflashlight".
Further arguments passed to print.flashlight()
.
Invisibly, the input is returned.
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)