Re: [R] labels in lattice

2011-12-14 Thread matteo dossena
Thanks David and Patrick, really appreciate tour help... m. Il giorno 14 Dec 2011, alle ore 18:33, David Winsemius ha scritto: > > On Dec 14, 2011, at 11:43 AM, matteo wrote: > >> set.seed(3) >> mydata <- data.frame(var = rnorm(100,20,1), >> temp = sin(sort(rep(c(1:10),10))

Re: [R] labels in lattice

2011-12-14 Thread Patrick Connolly
On Wed, 14-Dec-2011 at 08:43AM -0800, matteo wrote: |> Dear all, |> |> here is a simple problem that surely you already come across, but is giving |> me a big headache... |> |> I have a dataframe like this: |> |> set.seed(3) |> mydata <- data.frame(var = rnorm(100,20,1), |>

Re: [R] labels in lattice

2011-12-14 Thread David Winsemius
On Dec 14, 2011, at 11:43 AM, matteo wrote: set.seed(3) mydata <- data.frame(var = rnorm(100,20,1), temp = sin(sort(rep(c(1:10),10))), subj = as.factor(rep(c(1:10),5))) and I need to make a scatter plot for each subj, not a problem, but... what i want is

[R] labels in lattice

2011-12-14 Thread matteo
Dear all, here is a simple problem that surely you already come across, but is giving me a big headache... I have a dataframe like this: set.seed(3) mydata <- data.frame(var = rnorm(100,20,1), temp = sin(sort(rep(c(1:10),10))), subj = as.factor(rep(c(1:1