lr.pred: Calculates predictions from logistic regression
Description
Calculates predictions from logistic regression
Usage
lr.pred(formula, data.train, data.test = NULL, lr.model = NULL, thresholds = 0.5)
Arguments
data.train
A training dataset
data.test
A testing dataset
lr.model
An optional logistic regression model created from glm(family = "binomial")
thresholds
A vector of decision thresholds