Learn R Programming

see (version 0.6.8)

print.see_performance_pp_check: Plot method for posterior predictive checks

Description

The plot() method for the performance::check_predictions() function.

Usage

# 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, ...)

Arguments

x

An object.

size_line

Numeric value specifying size of line geoms.

line_alpha

Numeric value specifying alpha of lines indicating yrep.

size_bar

Size of bar geoms.

...

Arguments passed to or from other methods.

Value

A ggplot2-object.

Examples

Run this code
# 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