View source: R/plot.compare_performance.R
plot.see_compare_performance | R Documentation |
The plot()
method for the performance::compare_performance()
function.
## S3 method for class 'see_compare_performance' plot(x, size_line = 1, ...)
x |
An object. |
size_line |
Numeric value specifying size of line geoms. |
... |
Arguments passed to or from other methods. |
A ggplot2-object.
library(performance) 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 <- compare_performance(lm1, lm2, lm3) result plot(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.