Xpose version 4.5.3 released
Xpose version 4.5.0 released
Xpose version 4.4.0 released
Xpose version 4.3.5 released
Xpose version 4.3.4 released
Xpose package xpose4generic version 4.3.3 released
Xpose version 4.3.2 released
Xpose version 4.3.0 released
Xpose 4.2.1 released
Xpose 4.1.0 released
Xpose 4 release 4 available
Xpose 4 release 3 available
|Q.||How can I get help?|
All Xpose 4.0 functions are documented within the R help system. For example, if you want to know more about DV vs PRED plots and their options, type
at the R command line after loading Xpose.
|Q.||But what about human support?|
Andrew Hooker [andrew.hooker(at)farmbio.uu.se] can assist.
|Q.||Can I use Xpose 4.0 with S-PLUS?|
|A.||Unfortunately not. Xpose 4.0 was written for R, and while the dialect of S used in R is similar to the one found in S-PLUS, they are not 100% compatible.|
|Q.||Can I port Xpose 4.0 to S-PLUS, then?|
|A.||By all means. The source is freely available. We ask only that you share your modifications with the rest of us when they're done.|
|Q.||Does Xpose 4.0 work under Linux, UNIX or other non-Windows versions of R?|
I've installed Xpose as the instructions direct, but when I try to load it using library(xpose4), it says:
Loading required package: lattice
You need the external libraries 'Hmisc' and 'gam' for Xpose to work. You can (and should) install them from the R command line:
Xpose says it can't find any matching table files, but I have lots of them!
There are two things to check here. First, make sure R is looking in the right place. Use File -> Change dir... in Windows, or (for example)
> setwd("c:/NMV/runs/") (Windows)
to specify the folder in which your files may be found (it can be any folder, not necessarily the one in the example). Confirm it with
If that doesn't work, check your naming convention. Xpose looks for files according to the following pattern, where * is your run number:
Strictly, only sdtab* is needed for basic goodness-of-fit functionality, but patab*, cotab*, catab* and the NONMEM input and output are recommended to get the full benefit from Xpose.
You can use code similar to the following to generate the tables you need. NONMEM automatically appends DV, PRED, WRES and RES unless NOAPPEND is specified. Don't forget to leave at least one blank line at the end of the model specification file.
$TABLE ID TIME IPRED IWRES EVID MDV
$TABLE ID CL V2 KA K SLP KENZ
$TABLE ID WT HT AGE BMI PKG
$TABLE ID SEX SMOK ALC
What are these CWRES things?
In short, CWRES are conditional weighted residuals, a better alternative to WRES with the FOCE method in NONMEM. Read more about them here. Documentation about how to use them is covered in some detail in the online help
How can I save my Xpose plots to a file ?
Rather than saving a graphics windows, consider piping the output to a file.
R provides a number of what it calls 'devices' to facilitate this. The onscreen image you see when you run an Xpose function is one such device - either "windows" (for Windows) or "x11" (for Linux or UNIX). These are the defaults.
If you, however, want to send the output to a file, have a look in the R help for 'Devices' (?Devices) and see if there's something there that you can use. An example, for PDF:
This will create an A4-sized PDF file in your working directory containing basic goodness-of-fit plots for run 5. It is essential to use dev.off() to close the file before you try and look at it.
This documentation refers to version 4 for R. For previous versions for S-PLUS, click here.