View source: R/plot.compare_parameters.R
plot.see_compare_parameters | R Documentation |
The plot()
method for the parameters::compare_parameters()
function.
## S3 method for class 'see_compare_parameters'
plot(
x,
show_intercept = FALSE,
size_point = 0.8,
size_text = NA,
dodge_position = 0.8,
sort = NULL,
n_columns = NULL,
show_labels = FALSE,
...
)
x |
An object. |
show_intercept |
Logical, if |
size_point |
Numeric specifying size of point-geoms. |
size_text |
Numeric value specifying size of text labels. |
dodge_position |
Numeric value specifying the amount of "dodging" (spacing) between geoms. |
sort |
The behavior of this argument depends on the plotting contexts.
|
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 |
show_labels |
Logical. If |
... |
Arguments passed to or from other methods. |
A ggplot2-object.
data(iris)
lm1 <- lm(Sepal.Length ~ Species, data = iris)
lm2 <- lm(Sepal.Length ~ Species + Petal.Length, data = iris)
lm3 <- lm(Sepal.Length ~ Species * Petal.Length, data = iris)
result <- parameters::compare_parameters(lm1, lm2, lm3)
plot(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.