ba_plot: Bland-Altman ggplot2

Description Usage Arguments Details

View source: R/ba_plot.R

Description

Procduces customisable Bland-Altman Plots using ggplot2

Usage

1
2
ba_plot(df, x, y, xlabel = "Mean", ylabel = "Difference",
  measurement = "Measurement", ...)

Arguments

df

Data frame

x

Measurement 1

y

Measurement 2

xlabel

X-axis label (Difference between)

ylabel

Y-axis label (Difference between)

measurement

Description of what has been measured and is being compared

Details

Produces Bland-Altman plots of repeated measurements. It first standardises variables before calculating the mean and difference of measurements for plotting.


slackline/nmisc documentation built on May 30, 2019, 3:04 a.m.