Learn R Programming

tern (version 0.9.8)

g_bland_altman: Bland-Altman plot

Description

[Experimental]

Graphing function that produces a Bland-Altman plot.

Usage

g_bland_altman(x, y, conf_level = 0.95)

Value

A ggplot Bland-Altman plot.

Arguments

x

(numeric)
vector of numbers we want to analyze.

y

(numeric)
vector of numbers we want to analyze, to be compared with x.

conf_level

(proportion)
confidence level of the interval.

Examples

Run this code
x <- seq(1, 60, 5)
y <- seq(5, 50, 4)

g_bland_altman(x = x, y = y, conf_level = 0.9)

Run the code above in your browser using DataLab