Skip to contents

The conventional ggplot2::autoplot entry point for a kb_predictions object: a thin wrapper on kb_plot_predictions(). Dispatches on the prediction data frame, never on a fit.

Usage

# S3 method for class 'kb_predictions'
autoplot(object, ...)

Arguments

object

A kb_predictions object.

...

Passed to kb_plot_predictions() (e.g. x, observed).

Value

A ggplot object.

Examples

p <- kb_predict_weight_by(fit_weight_sim_nereo, by = "site")
ggplot2::autoplot(p)