print.fracridge_cv | R Documentation |
Print Method for fracridge_cv Objects
## S3 method for class 'fracridge_cv'
print(x, ...)
x |
An object of class |
... |
Additional arguments (currently ignored). |
Invisibly returns x
.
## Not run:
# Generate random data
set.seed(1)
X <- matrix(rnorm(100 * 10), nrow = 100, ncol = 10)
y <- rnorm(100)
# Perform cross-validated fractional ridge regression
cv_result <- fracridge_cv(X, y, frac_grid = seq(0.1, 1.0, by = 0.1))
# Print the result
print(cv_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.