View source: R/plot.parameters_simulate.R
plot.see_parameters_simulate | R Documentation |
The plot()
method for the parameters::simulate_parameters()
function.
## S3 method for class 'see_parameters_simulate'
plot(
x,
data = NULL,
stack = TRUE,
show_intercept = FALSE,
n_columns = NULL,
normalize_height = FALSE,
size_line = 0.9,
posteriors_alpha = 0.7,
centrality = "median",
ci = 0.95,
...
)
x |
An object. |
data |
The original data used to create this object. Can be a statistical model. |
stack |
Logical. If |
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 |
normalize_height |
Logical. If |
size_line |
Numeric value specifying size of line geoms. |
posteriors_alpha |
Numeric value specifying alpha for the posterior distributions. |
centrality |
Character specifying the point-estimate (centrality index)
to compute. Can be |
ci |
Numeric value of probability of the CI (between 0 and 1) to be
estimated. Default to |
... |
Arguments passed to or from other methods. |
A ggplot2-object.
library(parameters)
m <<- lm(mpg ~ wt + cyl + gear, data = mtcars)
result <- simulate_parameters(m)
result
plot(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.