UUPharmacometrics / xpose

Graphical diagnostics for pharmacometric models
https://uupharmacometrics.github.io/xpose
GNU Lesser General Public License v3.0
55 stars 29 forks source link

issues importing xpdb with both sim and obs tables #216

Closed ftuhin2828 closed 1 year ago

ftuhin2828 commented 1 year ago

When I import the xpdb object from estimation run, it cannot find the simulation tables. When I import xpdb object from simulations run, it cannot find the observed table. How do I get the xpdb imported from nonmem output lst file with both estimation and simulation tables so I can create vpc plots? Thanks in advance!

Fazlur

bguiastr commented 1 year ago

Hello, currently the only way to have both estimation and simulation tables simultaneously in the xpdb object is to have a single run with 2 $PROBLEM as exemplified here. In xpose v0.5 I plan to add the option to combine xpdb together e.g. c(xpdb_est, xpdb_sim).

Of note, if your VPC was created with PsN you can instead of the 2 $PROBLEM approach use the argument psn_folder in vpc_data