predict_outcome: predict_outcome

View source: R/predict_outcome.R

predict_outcomeR Documentation

predict_outcome

Description

Processing to predict response for various actual vs expected plots

Usage

predict_outcome(
  target,
  model_object,
  dataset,
  prediction_type = NULL,
  weights = NULL
)

Arguments

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.

Value

dataframe

Returns a dataframe of Actual and Predicted Values

Author(s)

Jared Fowler

See Also

tidy.lm


prettyglm documentation built on Sept. 8, 2023, 5:56 p.m.