'Different grouping level for different parameters in nlsList

I am using nlsList function to fit the model

y_ik = w_i / ( 1 + exp(mu_i/r-log(t_ik)/r) )

That is, I need to fit a common r for different levels of group index i. But the problem is nlsList will automatically fit different w, mu and r for different i.

How to specify so that nlsList can fit exactly as the model I put above. Or is there any other way to do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source