Print method for an object of class "light".

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

Arguments

x

A on object of class "light".

...

Further arguments passed from other methods.

Value

Invisibly, the input is returned.

Examples

fit <- lm(Sepal.Length ~ ., data = iris)
fl <- flashlight(model = fit, label = "lm", y = "Sepal.Length", data = iris)
light_performance(fl, v = "Species")
#> 
#> I am an object of class light_performance 
#> 
#> data.frames:
#> 
#>  data 
#> # A tibble: 1 × 3
#>   metric_ value_ label_
#>   <fct>    <dbl> <chr> 
#> 1 rmse     0.301 lm