powered by
Provides a detailed summary of Bland-Altman analysis results, including additional diagnostics and descriptive statistics.
# S3 method for ba_analysis summary(object, ...)
An object of class summary.ba_analysis containing:
summary.ba_analysis
The original function call.
Number of paired observations.
Number of pairs excluded due to NAs.
Variable names for x and y.
Type of difference calculation.
Confidence level used.
Data frame with descriptive statistics.
Data frame with agreement statistics.
Shapiro-Wilk test result for differences.
An object of class ba_analysis.
ba_analysis
Additional arguments (currently ignored).
set.seed(42) method_a <- rnorm(50, mean = 100, sd = 15) method_b <- method_a + rnorm(50, mean = 2, sd = 5) ba <- ba_analysis(method_a, method_b) summary(ba)
Run the code above in your browser using DataLab