plot.see_rope {see} | R Documentation |
Plot method for Region of Practical Equivalence
Description
The plot()
method for the bayestestR::rope()
.
Usage
## S3 method for class 'see_rope'
plot(
x,
data = NULL,
rope_alpha = 0.5,
rope_color = "cadetblue",
show_intercept = FALSE,
n_columns = 1,
...
)
Arguments
x |
An object. |
data |
The original data used to create this object. Can be a statistical model. |
rope_alpha |
Numeric specifying transparency level of ROPE ribbon. |
rope_color |
Character specifying color of ROPE ribbon. |
show_intercept |
Logical, if |
n_columns |
For models with multiple components (like fixed and random,
count and zero-inflated), defines the number of columns for the
panel-layout. If |
... |
Arguments passed to or from other methods. |
Value
A ggplot2-object.
Examples
library(rstanarm)
library(bayestestR)
set.seed(123)
m <<- suppressWarnings(stan_glm(Sepal.Length ~ Petal.Width * Species, data = iris, refresh = 0))
result <- rope(m)
result
plot(result)
[Package see version 0.8.5 Index]