plot_bland_altman: Create a Bland-Altman plot

Description Usage Arguments Value References Examples

View source: R/plot_bland_altman.R

Description

Create a Bland-Altman plot as described by Bland & Altman (1986).

Usage

1

Arguments

x

An object of class lvmisc_cv or an object containing a model.

...

Additional arguments to be passed to ggplot2::aes().

Value

A ggplot object.

References

Examples

1
2
3
4
mtcars <- tibble::as_tibble(mtcars, rownames = "car")
m <- stats::lm(disp ~ mpg, mtcars)
cv <- loo_cv(m, mtcars, car)
plot_bland_altman(cv, colour = as.factor(am))

lvmisc documentation built on April 5, 2021, 5:06 p.m.