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)
a list with elements.
intercept.
slope.
respective standard error of intercept.
respective standard error of slope.
weighted average of reference method values.
measurement values of reference method.
measurement values of test method.
Neter J., Wassermann W., Kunter M. Applied Statistical Models. Richard D. Irwing, INC., 1985.