View source: R/predict_outcome.R
predict_outcome | R Documentation |
Processing to predict response for various actual vs expected plots
predict_outcome(
target,
model_object,
dataset,
prediction_type = NULL,
weights = NULL
)
target |
String of target variable name. |
model_object |
Model object. prettyglm currently supports |
dataset |
This is used to plot the number in each class as a barchart if plotly is TRUE. |
prediction_type |
type of prediction to be passed to the model object. For ...GLM defaults to .... |
weights |
weightings to be provided to predictions if required. |
dataframe |
Returns a dataframe of Actual and Predicted Values |
Jared Fowler
tidy.lm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.