Creates a standard Bland-Altman plot from a Bland-Altman analysis object made with compare_methods()
.
Arguments
- ba_obj
Bland-Altman analysis object
- aspect_ratio
Set aspect ratio (x/y) between X and Y axis (sets
ggplot2::coord_fixed()
), Default (NULL) is automatic.- show_subject_legend
Show legend for subjects
- keep_log_scale
Show log transformed differences. If
FALSE
(default), values and parameters are exponentiated before plotting
See also
BA_plot_normalized_log()
which shows the results of a proportional Bland-Altman analysis (with log-transformed measurements)
on the non-transformed data.
Examples
ba_obj <- compare_methods(CO, ic, rv, id_col = sub)
BA_plot(ba_obj)