Skip to contents

Plot a kb_predictions object, as kb_plot_predictions() does.

Usage

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

Arguments

object

A kb_predictions object.

...

Passed to kb_plot_predictions() (for example x, geom, log_axis, max_facets).

Value

A ggplot object.

Examples

fit <- fit_weight_sim_nereo
p <- kb_predict_weight(fit, kb_new_data(fit, by = "site"))
ggplot2::autoplot(p)