Description Usage Arguments Value
R^2 regularization path for ridge RDA
1 2 3 | Rsqr.regpath(Y, X, form, trans = "hellinger",
lambdas = exp(-seq(0, ncol(X) + 1, length.out = 30)),
...)
|
Y |
Response matrix |
X |
Design matrix |
form |
Optional one-sided formula for specifying Design matrix |
trans |
Transformation of the response matrix |
lambdas |
Vector of regularization parameters defining the path |
... |
Additional parameters |
A data frame with one row per lambda and columns:
lambdas |
lambdas |
df |
Effective degrees of freedom (i.e. trace of the hat matrix) |
rel.eff.n.params |
Relative effective number of parameters |
Rsquare |
Unadjusted R^2 |
Rsquare.adj |
Adjusted R^2 |
Rsquare.pred |
Doubly adjusted (i.e. prediction) R^2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.