This is a compound plot consisting of plots of observations (DV), individual predictions (IPRED), and population predictions (PRED) against the independent variable (IDV), a specific function in Xpose 4. It is a wrapper encapsulating arguments to the xpose.plot.default function.

dv.preds.vs.idv(
  object,
  ylb = "Observations/Predictions",
  layout = c(3, 1),
  smooth = TRUE,
  scales = list(),
  ...
)

Arguments

object

An xpose.data object.

ylb

A string giving the label for the y-axis. NULL if none.

layout

A list controlling the number of columns and rows in a compound plot. The default is 2 columns and 1 row.

smooth

Logical value indicating whether an x-y smooth should be superimposed. The default is TRUE.

scales

A list to be used for the scales argument in xyplot.

...

Other arguments passed to link{xpose.plot.default}.

Value

Returns a compound plot comprising plots of observations (DV), individual predictions (IPRED), and population predictions (PRED) against the independent variable (IDV).

Details

A wide array of extra options controlling xyplots are available. See xpose.plot.default and xpose.panel.default for details.

Author

E. Niclas Jonsson, Mats Karlsson, Andrew Hooker & Justin Wilkins

Examples


## Here we load the example xpose database 
xpdb <- simpraz.xpdb

dv.preds.vs.idv(xpdb)