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

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Tue Dec 24 02:29:11 CET 2019


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.

Jim

On Tue, Dec 24, 2019 at 9:26 AM Rolf Turner <r.turner using auckland.ac.nz> wrote:
>
>
> The title of a key seems to be horizontally centred in the key; I would
> like to have it aligned with the left hand edge.  I.e. I would like the
> first letter of the title to have the same horizontal position as the
> first letters of the text strings.
>
> E.g. in the attached example I would like the "P" in "Point type" to be
> directly above the "o" in "obsd" and "f" in "fitted".
>
> Is there any way to effect this?  Thanks.
>
> cheers,
>
> Rolf Turner
>
> --
> 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.



More information about the R-help mailing list