SCM Repository

[latticeextra] View of /www/man/useOuterStrips.html
ViewVC logotype

View of /www/man/useOuterStrips.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 143 - (download) (as text) (annotate)
Tue May 25 06:54:57 2010 UTC (9 years, 1 month ago) by felix
File size: 2581 byte(s)
get rid of ".featured_example", just use example number
<html><head><title>R: Put Strips on the Boundary of a Lattice Display</title>


<table width="100%" summary="page for useOuterStrips {latticeExtra}"><tr><td>useOuterStrips {latticeExtra}</td><td align="right">R Documentation</td></tr></table>

<h2>Put Strips on the Boundary of a Lattice Display</h2>


Try to update a <code>"trellis"</code> object so that strips are only
shown on the top and left boundaries when printed, instead of in every
panel as is usual.  This is only meaningful when there are exactly tow
conditioning variables.



               strip = strip.default,
               strip.left = strip.custom(horizontal = FALSE),
               strip.lines = 1,
               strip.left.lines = strip.lines)



<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
 An object of class <code>"trellis"</code>. </td></tr>
<tr valign="top"><td><code>strip, strip.left</code></td>
 A function, character string or logical that
would be appropriate <code>strip</code> and <code>strip.left</code> arguments
respectively in a high level lattice function call (see
<code>xyplot</code>) </td></tr>
<tr valign="top"><td><code>strip.lines, strip.left.lines</code></td>
 height of strips in number of
lines; helpful for multi-line text or mathematical annotation in
strips. </td></tr>


<code>useOuterStrips</code> modifies a <code>"trellis"</code> object with
<code>length(dim(x)) == 2</code> so that when plotted, strips are only shown
on the top and left boundaries of the panel layout, rather than on top
of every panel, as is the usual behaviour.


An object of class <code>"trellis"</code>; essentially the same as <code>x</code>,
but with certain properties modified.


<p> Deepayan Sarkar </p>

<h3>See Also</h3>

<p> <code>Lattice</code>,
<code>xyplot</code> </p>




mtcars$HP &lt;- equal.count(mtcars$hp)

useOuterStrips(xyplot(mpg ~ disp | HP + factor(cyl), mtcars))

useOuterStrips(xyplot(mpg ~ disp | factor(cyl) + HP, mtcars),
               strip.left = FALSE,
               strip = strip.custom(style = 4))


<div align="center">[Package <em>latticeExtra</em> version 0.6-12 <a href="00Index.html">Index</a>]</div>
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge