predictr | R Documentation |
Predict a binary event based on a model or coefficents
predictr(data, coefficient = NULL, fit = NULL)
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) |
Tibble with 2 appended columns: "predict_raw" (the original output prediction) and "predict_prop" (the predicted probability of the event)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.