nlmixrdevelopment / nlmixr

nlmixr: an R package for population PKPD modeling
https://nlmixrdevelopment.github.io/nlmixr/
GNU General Public License v2.0
116 stars 45 forks source link

predict/estimate concentration at the time point #297

Closed Mak1071 closed 4 years ago

Mak1071 commented 4 years ago

Hello,

I am fitting two compartment model to the subject data. I obtained fixed parameters and random parameters. I would like to predict/estimate the concentration at the time point which is not included in my subject level data for a specific subject and for population. Is it possible using nlmixr? I saw there is nlmixrPred() but it is not very well documented and I wanted to ask for advice.

Thank you very much for help. Kind regards, Mak

mattfidler commented 4 years ago

Hi @Mak1071,

You can use EVID=2 to simulate a subject time-point in your dataset like you can in NOMEM and Monolix

You can also access the underlying RxODE machinery, all the model information you need can be found in the fit$simInfo

Mak1071 commented 4 years ago

Thank you!

Best regards, Mak