Learn R Programming

RGS (version 1.0)

find_cutoffs_logistic: Find symmetric cutoffs for logistic regression

Description

This function finds symmetric cutoff points for a specified predictor variable using logistic regression.

Usage

find_cutoffs_logistic(my_data, variable)

Value

A dataframe containing the symmetric cutoffs and their corresponding predicted log odds ratios.

Arguments

my_data

A dataframe containing the data.

variable

A character string specifying the name of the predictor variable for which to find cutoffs.