powered by
The plot() method for the performance::check_predictions() function.
plot()
performance::check_predictions()
# S3 method for see_performance_pp_check print(x, size_line = 0.7, line_alpha = 0.25, size_bar = 0.7, ...)# S3 method for see_performance_pp_check plot(x, size_line = 0.7, line_alpha = 0.25, size_bar = 0.7, ...)
# S3 method for see_performance_pp_check plot(x, size_line = 0.7, line_alpha = 0.25, size_bar = 0.7, ...)
An object.
Numeric value specifying size of line geoms.
Numeric value specifying alpha of lines indicating yrep.
yrep
Size of bar geoms.
Arguments passed to or from other methods.
A ggplot2-object.
# NOT RUN { if (require("performance")) { model <- lm(Sepal.Length ~ Species * Petal.Width + Petal.Length, data = iris) check_posterior_predictions(model) } # }
Run the code above in your browser using DataLab