[R] textbox in lattice

baptiste auguie baptiste.auguie at googlemail.com
Tue Jun 1 20:35:00 CEST 2010


Hi,

It's not clear what you mean by summary text without a minimal
reproducible example. If your text is ordered as a matrix or a
data.frame, you might want to try this grid function,

gridExtra::grid.table(as.matrix(summary(iris)), theme=theme.white())

If your text has the form of a paragraph, the RGraphics::splitTextGrob
function might help.

HTH,

baptiste



On 1 June 2010 19:37, Noah Silverman <noah at smartmediacorp.com> wrote:
> Hi,
>
> I want to add a box at the bottom of a lattice window (device/page?).
>
> Lattice has drawn a nice group of panels with all the plots I need.  How
> do I add my own summary text at the bottom (several lines worth?)
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list