I read "Longitudinal two-level model" in http://rpsychologist.com/r-guide-longitudinal-lme-lmer.
And I'd like to change the Level1 model a little as below.
Level1
Yij=Beta0j+f(Beta0j)*Rij
Rij~N(0,sigma^2)
f is some function.(e.g.beta distribution,gamma distribution)
Please teach me how to do.
I'd like to use nlme or nlmxir in R packages, but if these packages cannot, teach me other solution (I wish free).
Thanks,