[R] Alignment of the title in a key for xyplot in lattice.

Rolf Turner r@turner @end|ng |rom @uck|@nd@@c@nz
Tue Dec 24 07:41:35 CET 2019

On 24/12/19 2:29 pm, Jim Lemon wrote:

> Hi Rolf,
> Following the docs back to draw.key, It looks like the ellipsis
> argument is ignored. I was hoping for a brilliant solution along the
> lines of:
> adj=0
> that could be passed down the functions like a hot potato, but was disappointed.

Thanks for giving it some thought.  Actually I've found a work-around: 
make the title the first entry of the text component of the key, with 
the corresponding entries of the other components being NA.  And 
omitting the "title" argument.

An example of the result is attached.  It satisfies me, at least! :-)



Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmpl2.pdf
Type: application/pdf
Size: 10155 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20191224/2450278b/attachment.pdf>

More information about the R-help mailing list