change_reference {AutoScore}R Documentation

Internal Function: Change Reference category after first-step logistic regression (part of AutoScore Module 3)

Description

Internal Function: Change Reference category after first-step logistic regression (part of AutoScore Module 3)

Usage

change_reference(df, coef_vec)

Arguments

df

A data.frame used for logistic regression

coef_vec

Generated from logistic regression

Value

Processed data.frame after changing reference category


[Package AutoScore version 0.2.0 Index]