clean_model: Clean up logistic regression model

View source: R/clean_model.R

clean_modelR Documentation

Clean up logistic regression model

Description

Strips logistic regression model object of extraneous data that are not required in order to calculate the probability of death within 30 days of admission. This is a necessary step as the object will likely be quite large and take up significant amounts of memory when producing the probabilities.

Usage

clean_model(model)

Arguments

model

Input glm.

Details

clean_model expects an object of class glm.


NHS-NSS-transforming-publications/hsmr documentation built on June 30, 2024, 11:48 a.m.