erikhuizinga / Bland-Altman-Analysis

A MATLAB function for Bland-Altman Analysis of agreement between measurement methods.
5 stars 3 forks source link

Improve validation of optional a (alpha) parameter #20

Open erikhuizinga opened 6 years ago

erikhuizinga commented 6 years ago

The current validation allows invalid values, because there is no check if the following condition holds: 0 < a < 1.

https://github.com/erikhuizinga/Bland-Altman-Analysis/blob/b463238238205caa45eb97476df1564d4b5b065b/ba.m#L209