Learn R Programming

lattice (version 0.3-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:
  • formulaformula that was used in the call. Not used
  • fnamefunction that produced the object. Not used
  • 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
  • condThe conditioning variables. Not used
  • 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.drawlogical specifying whether x-axis is to be drawn
  • y.drawlogical specifying whether y-axis is to be drawn
  • 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.relation.samelogical, whether x-relation = "same"
  • y.relation.samelogical, whether y-relation = "same"
  • x.alternatingnumeric vector, with components 0, 1 or 2, defining on which side x-axis labels are to be drawn
  • y.alternatingnumeric vector, with components 0, 1 or 2, defining on which side y-axis labels are to be drawn
  • fontsize.normaldefault fontsize
  • fontsize.smallfontsize for the axis labels, can be further modified by the cex component of scales.