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

Eric Berger er|cjberger @end|ng |rom gm@||@com
Tue Dec 24 09:44:58 CET 2019


Lovely solution Rolf :-)

On Tue, Dec 24, 2019 at 8:42 AM Rolf Turner <r.turner using auckland.ac.nz> wrote:

>
> 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! :-)
>
> cheers,
>
> Rolf
>
> --
> Honorary Research Fellow
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list