redundancy_analysis {BlanketStatsments}R Documentation

Redundancy analysis

Description

Perform a redundancy analysis on an existing model

Usage

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

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


[Package BlanketStatsments version 0.1.2 Index]