Learn R Programming

xpose4 (version 4.3.2)

xpose4-package: Xpose 4 Package

Description

Xpose is an R-based model building aid for population analysis using NONMEM. It facilitates data set checkout, exploration and visualization, model diagnostics, candidate covariate identification and model comparison.

Arguments

Running Xpose with the classic menu system

Xpose can be run through a series of menu selections. This method of running Xpose is useful for the beginning "Xposer" and for learning about the functionality available in Xpose. The menu system does not allow for as much customization as the command line interface, nor does it allow for scripting. To run the classic Xpose interface, at the R command prompt, type: library(xpose4) #read in the xopse library xpose4() #Run the menu system And follow the menu prompts.

Running Xpose from the command line

Each function in the Xpose bundle is now independently available from the command line, once libraries are loaded. For example, you might do the following: library(xpose4) #read in the xopse library run.number <- 5 # run number of xpose table files xpdb <- xpose.data(run.number) # run number of xpose table files basic.gof(xpdb) # Basic goodness-of-fit plots

Getting 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: ?dv.vs.pred You can also use the html help, in the R-gui go to (Help -> Html help) then click on packages, then xpose4. If you don't know the names of the Xpose function you would like to use then you can browse the four different libraries that make up the Xpose 4 distribution. These libraries are: xpose4data - Functions to to read NONMEM table files and create the Xpose data structure. xpose4generic - Generic functions to create plots using the Xpose data structure. xpose4specific - Specific functions to create plots using the Xpose data structure. Generally what you want to use. xpose4classic - Functions for running the classic menu system in Xpose. xpose4specific may be the most helpful as it contains functions that are ready to use just by telling the functions which xpose database to use (i.e. xpdb after running the command xpdb <- xpose.data(run.number)). functions and their help entries may be found in the \chtml, \html and \latex directories of the five Xpose packages, found in the \[R-HOME]\library folder. Formats are Microsoft compiled HTML, CHTML, PDF and LaTeX, respectively.

Details

Xpose can be run in two different ways, using the classic menu system and by using the command line in R.