Skip to contents

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

Usage

dv.vs.pred.ipred(
  object,
  xlb = "Predictions",
  layout = c(2, 1),
  abline = c(0, 1),
  lmline = TRUE,
  smooth = NULL,
  scales = list(),
  ...
)

Arguments

object

An xpose.data object.

xlb

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

layout

A list giving the layout of the graphs on the plot, in columns and rows.

abline

Vector of arguments to the panel.abline function. No abline is drawn if NULL.

lmline

logical variable specifying whether a linear regression line should be superimposed over an xyplot. NULL ~ FALSE. (y~x)

smooth

NULL or TRUE value indicating whether an x-y smooth should be superimposed.

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) against individual predictions (IPRED) and population predictions (PRED).

Details

Plots of DV vs PRED and IPRED are presented side by side for comparison.

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

dv.vs.pred.ipred(simpraz.xpdb)