Re: [NMusers] different COMRES statements

From: Leonid Gibiansky <LGibiansky_at_quantpharm.com>
Date: Mon, 15 Oct 2007 09:36:27 -0400

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: frederik_at_gorterdevries.nl
>
>
>
>
>
Received on Mon Oct 15 2007 - 09:36:27 EDT

This archive was generated by hypermail 2.2.0 : Tue Nov 06 2007 - 15:07:43 EST