predictr: Predict a binary event based on a model or coefficents

View source: R/predictr.R

predictrR Documentation

Predict a binary event based on a model or coefficents

Description

Predict a binary event based on a model or coefficents

Usage

predictr(data, coefficient = NULL, fit = NULL)

Arguments

data

Tibble containing all coefficents / outcome of interest as specified in fit or coefficent parameters.

coefficient

Output from the coefficent function (alternative to fit parameter)

fit

Logistic regression fit object (alternative to coefficient parameter)

Value

Tibble with 2 appended columns: "predict_raw" (the original output prediction) and "predict_prop" (the predicted probability of the event)


kamclean/predictr documentation built on Aug. 14, 2022, 4:35 a.m.