Re: different COMRES statements

From: Leonid Gibiansky Date: October 15, 2007 technical Source: mail-archive.com
Hi Frederik In both cases, COMRES is used to reserve place for some data. If so, you need to double the space: reserve place for both needs, and use CONRES=Z where Z=X+Y, X for PRIOR and Y for CWRES. In the part of the code needed for CWRES, use " LAST " COM(X+1)=G(1,1) .... (X+1 need to be computed and replaced by a particular number, X is the number of elements required for implementation of PRIOR) etc $TABLE ...COM(x+1)=G11 .. I have not used this combination, so this is the untested idea. Leonid -------------------------------------- Leonid Gibiansky, Ph.D. President, QuantPharm LLC web: www.quantpharm.com e-mail: LGibiansky at quantpharm.com tel: (301) 767 5566 Frederik Gorter de Vries wrote: > Dear NMuser, > > I have a problem with implementing the CWRES in a model that’s using $PRIOR. Both need a $ABB COMRES= x statement, but with different numbers of x. Which number should I take here? NONMEM seems to have no problem when using the one from CWRES, but the CWRES cannot be calculated anymore in R using Xpose. The following message appears: > > > cwres <- compute.cwres(1, printToOutFile = FALSE,onlyNonZero = FALSE) > > Error in `[.data.frame`(x, r, vars, drop = drop) : > > undefined columns selected > > When I use the COMRES number from the $PRIOR NMTRAN gives an error regarding the table with the wrong number of COM ARRAY . > > I hope someone have seen this problem before and can tell me more about the COMRES statement. > > Thank you in advance and best regards, > > Frederik Gorter de Vries > > _______________________________________ > > Frederik Gorter de Vries > > LACDR / Pharmacology > > Gorleaus Laboratories > > Einsteinweg 55 2333 CC Leiden > > The Netherlands > > Tel : ++31 71 527 6142 > > Email: [EMAIL PROTECTED]
Oct 15, 2007 Frederik Gorter de Vries different COMRES statements
Oct 15, 2007 Leonid Gibiansky Re: different COMRES statements
Oct 15, 2007 Andrew Hooker RE: different COMRES statements
Oct 16, 2007 Alison Boeckmann RE: different COMRES statements
Oct 16, 2007 Andrew Hooker RE: different COMRES statements
Oct 17, 2007 Frederik Gorter de Vries RE: different COMRES statements