Open YangZhang11 opened 1 year ago
I have the same issue as above with Monolix. Any advice on what we can do about this?
It's a rounding issue coming from Line 120 at plot-individual.R
. https://github.com/ggPMXdevelopment/ggPMX/blob/bd679e25ffc50f22ae2773587a44bca50f24ede6/R/plot-individual.R#L120
As a workaround at the moment you could round last time points before plotting yourself using floor
, e.g. nlmixrObj$TIME[nlmixrObj$TIME>160] <- floor(nlmixrObj$TIME[nlmixrObj$TIME>160])
.
Describe the bug Last observation of some subjects were shown as "ignored" in individual plots
To Reproduce A minimal example was created using nlmixr2 using the object saved in the attached file (untar first) as follows:
nlmixrObj.RDS.tar.gz
Expected behavior All observations should shown as "accepted" as no censoring is done -- all observations used in the model.
Screenshots Output of the scripts:
The last observations from subjects IDs 4, 14 and 23 are shown as ignored.
Package and platform:
Additional context The example was implemented in nlmixr2 but we have observed similar issues with NONMEM results.