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

Simulation IDs are sometimes set from original fitting dataset #507

Closed billdenney closed 3 years ago

billdenney commented 3 years ago

I have a model where the original dataset used for fitting has values in the ID column that are character class. When I run a simulation with id set to a numeric value, the simulation result has the character values from the fitting dataset instead of the numeric values from the simulation dataset that I was expecting.

I'm trying to generate a reprex, but if you have any pointers for where the issue may be coming from, I'd be very interested.

My versions of nlmixr and RxODE are several days old in case that matters.

mattfidler commented 3 years ago

I haven't seen it so I'm unsure.

On Fri, Apr 16, 2021, 12:36 PM Bill Denney @.***> wrote:

I have a model where the original dataset used for fitting has values in the ID column that are character class. When I run a simulation with id set to a numeric value, the simulation result has the character values from the fitting dataset instead of the numeric values from the simulation dataset that I was expecting.

I'm trying to generate a reprex, but if you have any pointers for where the issue may be coming from, I'd be very interested.

My versions of nlmixr and RxODE are several days old in case that matters.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nlmixrdevelopment/nlmixr/issues/507, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5VWRCFLYSB6SMAZS72MTTJBYQZANCNFSM43B57SJA .

billdenney commented 3 years ago

I just found that it was a user error (I was using the data instead of events to pass in my data).