redundancy_analysis: Redundancy analysis

Description Usage Arguments Value Author(s) Examples

View source: R/Blanket_statsments.R

Description

Perform a redundancy analysis on an existing model

Usage

1
redundancy_analysis(model, data, r2_threshold = 0.9, nk = 0)

Arguments

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

Value

an object of class "redun"

Author(s)

J. Peter Marquardt

Examples

1
2
3
data <- survival::lung
mod <- build_reg_model(data, 'age', c('sex'))
redundancy_analysis(mod, data)

BlanketStatsments documentation built on Aug. 2, 2021, 9:06 a.m.