I was wondering if we need to restructure data when we have EVID=4 in the NONMEM datasets for estimating using Pumas. I am getting the following error when I use read_pumas function to read such a NONMEM dataset which has EVID=4:
df = read_pumas(inputDataset, id = :ID, time= :TIME, dvs = [:DV], amt = :AMT, evid = :EVID)
PumasDataError: (ID, TIME) pair should be unique, if your data has multiple dvs in one column, please convert it to wide format.
Thanks for your help in advance!