evaluate_model_logistic {RGS}R Documentation

Evaluate logistic regression model with cutoffs

Description

This function evaluates the logistic regression model by creating exposure variables based on the cutoffs and fitting the model.

Usage

evaluate_model_logistic(my_data, cutoffs, formula)

Arguments

my_data

A dataframe containing the data.

cutoffs

A list of dataframes containing the cutoffs for each variable.

formula

An object of class "formula" describing the model structure.

Value

A dataframe summarizing the model evaluation metrics.


[Package RGS version 1.0 Index]