DoseResponse / drc

Fitting dose-response models in R
https://doseresponse.github.io/drc/
21 stars 16 forks source link

mselect function of does not work inside a function #28

Open rjaffe-exponent opened 2 years ago

rjaffe-exponent commented 2 years ago

Please refer to this post: https://stackoverflow.com/questions/50119927/mselect-function-of-drc-package-does-not-work-inside-a-function

The solution is provided there:

tempObj <- try(update(object, fct = fctList[[i]],
                          data = object$origData),    # <--- line added here
                          silent = TRUE)

Should be an easy update to the mselect function.