KS: Find KS Statistic of an Independent - Dependent Variable...

Description Usage Arguments Value Examples

View source: R/KS.r

Description

This function calculates the KS value associated with a linear model made from a single predictor on a binary dependent variable. It also removes any missing values from the dependent variable before calculating KS.

Usage

1
KS(x, y)

Arguments

y

Must be Categorical or only have two values. Also can't contain any NA values

Value

The KS value for the independent variable

Examples

1
KS(x = 1:100, y = sample(c(0, 1), 100, replace = T))

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.