findOptCutoffClass: Detect the best cutoff to match a categorical classification

View source: R/findOptCutoffChisq.R

findOptCutoffClassR Documentation

Detect the best cutoff to match a categorical classification

Description

Separates a continuous variable with different cutoffs into two groups and performs a chisquared or Fisher's exact test

Usage

findOptCutoffClass(data, class, delta = 0.1, test = "chisq")

Arguments

data

vector with the continuous variables

class

classification (two factors) to test against

delta

step size for alterations of


mknoll/dataAnalysisMisc documentation built on Feb. 4, 2024, 8:16 a.m.