Print the robust regression or explanation from slise
Usage
# S3 method for slise
print(x, num_vars = 10, labels = NULL, ...)
Arguments
- x
The slise object
- num_vars
Minimum number of variables to show without filtering (default: 10)
- labels
Name of y or class labels
- ...
Ignored additional parameters
Examples
X <- matrix(rnorm(30), 15, 2)
Y <- runif(15, 0, 1)
print(slise.fit(X, Y, epsilon = 0.1))
#> SLISE Regression:
#> Intercept 2 1
#> 0.7460233 -0.4115825 -0.2076205
#> Subset size: 0.53
#> Loss: -0.08
#> Epsilon: 0.10