Print method for an object of class "flashlight".
# S3 method for class 'flashlight'
print(x, ...)
Invisibly, the input is returned.
fit <- lm(Sepal.Length ~ ., data = iris)
x <- flashlight(model = fit, label = "lm", y = "Sepal.Length", data = iris)
x
#>
#> Flashlight lm
#>
#> Model: Yes
#> y: Sepal.Length
#> w: No
#> by: No
#> data dim: 150 5
#> metrics: rmse