Description Usage Arguments Value Author(s) Examples
View source: R/Blanket_statsments.R
Perform a redundancy analysis on an existing model
1 | redundancy_analysis(model, data, r2_threshold = 0.9, nk = 0)
|
model |
a statistical regression model of class linear, logistic or coxph |
data |
data.frame used to create the model |
r2_threshold |
float threshold value to consider a parameter redundant |
nk |
number of knots in splicing |
an object of class "redun"
J. Peter Marquardt
1 2 3 | data <- survival::lung
mod <- build_reg_model(data, 'age', c('sex'))
redundancy_analysis(mod, data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.