Re: [R] dynamically add items to key of lattice xyplot

2008-02-05 Thread hadley wickham
On Feb 5, 2008 3:50 AM, Bram Kuijper <[EMAIL PROTECTED]> wrote: > Hi all, > > is it possible to dynamically add key items to an already existing key, > belonging to a lattice xyplot? It's not lattice, but this is pretty easy to do with ggplot2: install.packages("ggplot2") library(ggplot2) qplot(

Re: [R] dynamically add items to key of lattice xyplot

2008-02-05 Thread Deepayan Sarkar
On 2/5/08, Bram Kuijper <[EMAIL PROTECTED]> wrote: > Hi all, > > is it possible to dynamically add key items to an already existing key, > belonging to a lattice xyplot? No. -Deepayan > This is what I do: I make an xyplot with an initial key. Later on, I > want to extend this key with more items

[R] dynamically add items to key of lattice xyplot

2008-02-05 Thread Bram Kuijper
Hi all, is it possible to dynamically add key items to an already existing key, belonging to a lattice xyplot? This is what I do: I make an xyplot with an initial key. Later on, I want to extend this key with more items, as more lines are added to the plot (lines are added using trellis.focus(