Skip to contents

Visualizes a Bland-Altman analysis with log-transformed data (showing relative errors) on the non-transformed data.

Usage

BA_plot_normalized_log(
  ba_obj,
  show_subject_legend = FALSE,
  aspect_ratio = NULL
)

Arguments

ba_obj

Bland-Altman analysis object

show_subject_legend

Show legend for subjects

aspect_ratio

Set aspect ratio (x/y) between X and Y axis (sets ggplot2::coord_fixed()), Default (NULL) is automatic.

Value

Bland-Altman style plot with relative differences plotted on absolute differences.

Examples

BA_CO <- compare_methods(CO, "ic", "rv", id_col = "sub", logtrans = TRUE)
BA_plot_normalized_log(BA_CO)