BA.analysis: Bland-Altman analysis

Description Usage Arguments Details Value Examples

View source: R/BAanalysis.R

Description

This function returns the Bland-Altman (BA) elements with 95 interval (by default) on the bias and on the limits of agreements. It also calculates the percentage of error. Data can be converted to relative estimation. Validation of differences normality with Shapiro-Wilk test.

Usage

1

Arguments

a

A numerical vector method A

b

A numerical vector method B

percent

bool for relative estimation (default F)

conf.int

Confidence interval (default 0.95)

Details

References:

1) Bland, J.M. & Altman, D.G., 1986. Statistical methods for assessing agreement between two methods of clinical measurement. Lancet, 1(8476), pp.307–310.

2) Giavarina, D., 2015. Understanding Bland Altman analysis. Biochemia Medica, 25(2), pp.141–151

Value

List if the element required to a BA analysis

Examples

1
ba <- BA.analysis(c(1,2,3,4), c(2,3,4,5))

sauthiem/BlandAltman documentation built on May 7, 2021, 11:05 p.m.