xpose help

3 messages 3 people Latest: Mar 27, 2012

xpose help

From: Justus Bingham Date: March 26, 2012 technical
Hello Group, I am trying to use the ind.plots function in xpose4 with a slight modification. I want to plot only the DV, and leave off IPRED and PRED. Does anyone know how to do this? Thanks in advance, Justus Bingham

Re: xpose help

From: Justin Wilkins Date: March 26, 2012 technical
Dear Justus, Your best bet may be not to use the ind.plots function at all, and instead use standard lattice, e.g. > library(xpose4) > xp <- xpose.data(1) ; load NM data > x <- xp@Data ; move the Xpose data somewhere more convenient > xyplot(DV ~ TIME | factor(ID), data=subset(x, EVID==0), as.table=T, type="l") Best Justin
Quoted reply history
On 3/26/12 9:47 PM, Justus Bingham wrote: > Hello Group, > > I am trying to use the ind.plots function in xpose4 with a slight modification. > I want to plot only the DV, and leave off IPRED and PRED. Does anyone know how > to do this? > > Thanks in advance, > > Justus Bingham

RE: xpose help

From: Martin Bergstrand Date: March 27, 2012 technical
Dear Justus, If you do want to use the 'ind.plot()' function it could look something like this: library(xpose4) # Load xpose library RUN <- "1" # Input run number xpdb <- xpose.data(RUN) # Read in xpose database # Individual plots (3 by 3): Dependent variable v.s. time ind.plots(xpdb, y.vals=c("DV"), layout=c(3,3), key=NULL, ylb="Dependent variable") Kind regards, Martin Bergstrand, PhD Pharmacometrics Research Group Dept of Pharmaceutical Biosciences Uppsala University Sweden [email protected] Visiting scientist: Mahidol-Oxford Tropical Medicine Research Unit, Bangkok, Thailand Phone: +66 8 9796 7611
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Justin Wilkins Sent: den 27 mars 2012 04:58 To: Justus Bingham Cc: [email protected] Subject: Re: [NMusers] xpose help Dear Justus, Your best bet may be not to use the ind.plots function at all, and instead use standard lattice, e.g. > library(xpose4) > xp <- xpose.data(1) ; load NM data > x <- xp@Data ; move the Xpose data somewhere more convenient > xyplot(DV ~ TIME | factor(ID), data=subset(x, EVID==0), as.table=T, type="l") Best Justin On 3/26/12 9:47 PM, Justus Bingham wrote: > Hello Group, > > I am trying to use the ind.plots function in xpose4 with a slight modification. I want to plot only the DV, and leave off IPRED and PRED. Does anyone know how to do this? > > Thanks in advance, > > Justus Bingham