You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run a simple model (pheno) with the following (admittedly minimal) table:
$TABLE ID NOAPPEND NOPRINT ONEHEADER FILE=sdtab1
When trying to read the results into an xpdb with xpose.data it crashes with the following trace:
Error in (function (cl, name, valueClass) : assignment of an object of class “numeric” is not valid for @‘Data’ in an object of class “xpose.data”; is(value, "data.frame_or_NULL") is not TRUE
4.stop(gettextf("assignment of an object of class %s is not valid for @%s in an object of class %s; is(value, \"%s\") is not TRUE", dQuote(valueClass), sQuote(name), dQuote(cl), slotClass), domain = NA)
3.(function (cl, name, valueClass) { ClassDef <- getClass(cl) slotClass <- ClassDef@slots[[name]] ...
2.`Data<-`(`*tmp*`, value = tmp)
1.xpose4::xpose.data(xpose.runno, directory = results.directory, tab.suffix = tab.suffix, mod.prefix = mod.prefix, mod.suffix = mod.suffix)
Adding the column TIME to the sdtab1 stops xpose from crashing.
The text was updated successfully, but these errors were encountered:
By default xpose4 expects the 'standard' parameters to be found in NONMEM table output. This includes IWRE, IPRE, TIME, and the NONMEM default items (DV, PRED, RES and WRES) that are added when NOAPPEND is not present in the $TABLE record. If you remove NOAPPEND then your example should work.
Ok, but in other cases xpose give helpful error messages to what is missing. For example when trying to create a basic gof plot I get:
-----------Variable(s) not defined!-------------
iwres is/are not defined in the current database
and must be defined for this command to work!
------------------------------------------------
It would be helpful if xpose could do the same here.
I run a simple model (pheno) with the following (admittedly minimal) table:
$TABLE ID NOAPPEND NOPRINT ONEHEADER FILE=sdtab1
When trying to read the results into an xpdb with
xpose.data
it crashes with the following trace:Adding the column
TIME
to the sdtab1 stops xpose from crashing.The text was updated successfully, but these errors were encountered: