nlmixrdevelopment / nlmixr

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

Specify fitting compartment #560

Closed DimitrisVoul closed 2 years ago

DimitrisVoul commented 2 years ago

Hello, I have a dataset with multiple CMTs inlcuding absorption, central and effect. It was created to fit the data simultaneously with multiple endpoints bit now I only want to fit the data of the 3rd CMT which is the effect. When I write

effect ~ prop(effect.prop)

Where do I specify which DV data to use for the fitting (namely only the CMT=3 ones)

mattfidler commented 2 years ago

Hi @DimitrisVoul

In theory you can look at the multiple endpoints output. This is discussed here:

https://nlmixrdevelopment.github.io/nlmixr/articles/multiple-endpoints.html

The table tells what CMT or DVID values correspond to an effect.

If there is something unclear there, please let me know.

DimitrisVoul commented 2 years ago

Is that throught the command

nlmixr(Model)

because when I run it without multiple endpoints I don't get any infomation regarding the CMT or DVID

mattfidler commented 2 years ago

In that case, the evid is sufficient to model the data. If it doesnt work it is a bug.

On Wed, Sep 29, 2021, 9:14 AM DimitrisVoul @.***> wrote:

Hello,

No I don't want to fit with multiple endpoints. I am only interested in fitting one of the CMT. How can I specify which CMT/DVID nlmixr uses to fit the data?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/nlmixrdevelopment/nlmixr/issues/560#issuecomment-930218449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5VWSOB5ITDPM3EX4Z6NDUEMNNPANCNFSM5E2ICHNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.