R: Set the lattice 'par.settings' to remove all marginal space.
layoutCollapse
R Documentation
Set the lattice par.settings to remove all marginal space.
Description
Set the lattice par.settings to remove all marginal space.
By default everything in layout.heights or layout.widths is set to 0
except for panel. The user can specify values for all the standard
items in either of those items.
Any item name in layout.heights for layoutHeightsCollapse or
in layout.widths for layoutWidthsCollapse.
Details
When very small plots are placed inside a LaTeX tabular environment, it is often
helpful
to suppress margins, axes, labels, titles.
Value
A list which may be used as input to the par.settings argument in a
lattice call.
Author(s)
Richard M. Heiberger <rmh@temple.edu>
Examples
lattice::trellis.par.get("layout.heights")
lattice::trellis.par.get("layout.widths")
layoutHeightsCollapse()
layoutWidthsCollapse()
layoutWidthsCollapse(axis.left=1)
## Please see the package documentation for a simple example in context.
## Please see the demos for more interesting examples.
## demo(package="microplot")