[R] controling x-labels in xyplot (lattice) when x is POSIX object

Martin Maechler maechler at stat.math.ethz.ch
Tue Oct 21 10:05:53 CEST 2003


>>>>> "Deepayan" == Deepayan Sarkar <deepayan at stat.wisc.edu>
>>>>>     on Mon, 20 Oct 2003 12:58:36 -0500 writes:

    Deepayan> On Monday 20 October 2003 12:35,
    Deepayan> john.gavin at ubs.com wrote:

   <.....>

    >> Previously, I used 'calculateAxisComponents' to massage
    >> the labels manually but that function (which I realise
    >> was internal to lattice) is no longer available.

    Deepayan> It's still there, but not exported (in the
    Deepayan> NAMESPACE sense). You will find it in the source,
    Deepayan> and perhaps be able to use it to calculate your
    Deepayan> own 'at' and 'labels' externally.

and you can now (R 1.8.x) use the ":::" operator to access internal
symbols, i.e., use the function as

lattice:::calculateAxisComponents(...)

    Deepayan> <.........>

Martin




More information about the R-help mailing list