axe-rda | R Documentation |
rda objects are created from the klaR package, leveraged to carry out regularized discriminant analysis.
## S3 method for class 'rda'
axe_call(x, verbose = FALSE, ...)
## S3 method for class 'rda'
axe_env(x, verbose = FALSE, ...)
x |
A model object. |
verbose |
Print information each time an axe method is executed.
Notes how much memory is released and what functions are
disabled. Default is |
... |
Any additional arguments related to axing. |
Axed rda object.
library(klaR)
fit_mod <- function() {
boop <- runif(1e6)
rda(
y ~ x,
data = data.frame(y = rep(letters[1:4], 1e4), x = rnorm(4e4)),
gamma = 0.05,
lambda = 0.2
)
}
mod_fit <- fit_mod()
mod_res <- butcher(mod_fit)
weigh(mod_fit)
weigh(mod_res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.