Learn R Programming

lattice (version 0.7-1)

trellis.object: Lattice Display Object

Description

This class of objects is returned by Lattice display functions, and is usually plotted by default by its `print' method.

Arguments

Value

  • A ``trellis'' object is a list with the following components:
  • aspect.filllogical specifying whether aspect==``fill''
  • aspect.rationumeric, aspect ratio to be used IF aspect.fill is FALSE
  • as.tablelogical, whether rows are drawn top to bottom
  • callcall that generated the object. Not used
  • condlevelsLevels of the conditioning variables
  • fontsize.normaldefault font size for the plot
  • fontsize.smallfont size for the axis labels (?)
  • keylist defining the key to be drawn
  • layoutlayout of the trellis. Must be of length 3, but first element can be 0, in which case the second element is taken to be the desired number of panels per page and a `nice' layout is calculated based on aspect ratio, screen dimensions etc.
  • pagethe page function
  • panelthe panel function
  • panel.argsa list as long as the number of panels, each element being a list itself, containing the arguments in named form to be passed to the panel function in that panel. If skip=T for a particular panel, then the corresponding element is FALSE instead of a list.
  • panel.args.commona list containing the arguments common to all the panel functions in name=value form
  • par.strip.textlist containing graphical parameters cex, col, font for the strip labels
  • skiplogical vector, not used
  • stripthe function to draw the strip labels
  • mainNULL, or list with components label, cex, col, font
  • subsame as main
  • xlabsame as sub
  • ylabsame as xlab
  • x.scaleslist describing x-scale, can consist of several other lists, paralleling panel.args, if x-relation is not ``same''
  • y.scaleslist describing y-scale, same as x.scales
  • x.betweennumeric vector of interpanel x-space
  • y.betweennumeric vector of interpanel y-space
  • x.limitsnumeric vector of length 2 or list, giving x-axis limits
  • y.limitssimilar to x.limits