drc icon indicating copy to clipboard operation
drc copied to clipboard

llogistic2 model has no fixed information

Open hjia222 opened this issue 3 years ago • 0 comments

I found that llogistic2 model has no fixed information

x = LL2.4(fixed = c(NA, 0, 1, NA))
x$fixed
NULL

fit <- drm(vol ~ conc, data = algae, fct = LL2.4(fixed = c(NA, 0, 200, NA)))
fit$fct$fixed
NULL

In the llogitic2 function, return list does not include "fixed" like in llogistic:

returnList <- list(fct = fct, ssfct = ssfct, names = names, deriv1 = deriv1, deriv2 = deriv2, derivx = derivx, edfct = edfct, bfct = bfct, inversion = invfct, name = fctName, text = fctText, noParm = sum(is.na(fixed)), lowerAs = lowerAs, upperAs = upperAs, monoton = monoton)

Is this missing intentional? If not, could you please add fixed to returnList?

Thanks!

hjia222 avatar Dec 08 '21 16:12 hjia222