The weights of regression are taken as reverse squared values of the reference method, that's why it is impossible to achieve the calculations for zero values.
mc.wlinreg(X, Y)
measurement values of reference method.
measurement values of test method.
a list with elements.
intercept.
slope.
respective standard error of intercept.
respective standard error of slope.
weighted average of reference method values.
Neter J., Wassermann W., Kunter M. Applied Statistical Models. Richard D. Irwing, INC., 1985.