‘inverse.predict’: Do not work on the means of the calibration standards any more, as this ignores the variability of y values about the means
Use testthat for tests to simplify further development. Adapt the tests using data with replicate standard measurements to work on the means in order to show the relation to ‘inverse.predict’ from earlier versions. Include comparisons with investr::calibrate(method = ‘Wald’) for unweighted regressions. Include tests with more precision to check for changes in numerical output across versions.
‘lod’ and ‘loq’: In the lists that are returned, return the list component ‘y’ without names, because we always only have a single element in ‘y’ (previously the name ‘1’ was returned).
Convert vignette to html and explain the changes to ‘inverse.predict’
Add two example dataset, one from an online course at the University of Toronto, one from Rocke and Lorenzato (1995)
For a detailed list of changes to the chemCal source please consult the commit history on https://cgit.jrwb.de/chemCal