FindCutoff: Find the cuttoff for binary variables

Description Usage Arguments Value

View source: R/FindCutoff.R

Description

Find the cutoff point when converting a numeric vector to binary. The function calculates the share of a instances in a class given a cutoff point.

Usage

1
FindCutoff(objective, lever, range)

Arguments

objective

vector of classes, should be binary 0/1 or T/F

lever

numeric vector to

range

range of values used as cutoffs

Value

vector of percentages by class


kuhnrl30/RandomActsofPizza documentation built on May 20, 2019, 7:06 p.m.