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 Nov. 17, 2024, 9:40 a.m.