hi,

xyplot(y~x2|x1+which,data=
>
> make.groups(dataframe1, dataframe2))
>
>
i'd like to replace the labels for dataframe1 and dataframe2 say with
c("A","B"). is there a way?

thanks!

On Mon, Oct 27, 2008 at 2:23 PM, Deepayan Sarkar
<deepayan.sarkar@gmail.com>wrote:

> On 10/27/08, erwann rogard <erwann.rogard@gmail.com> wrote:
> > hello,
> >
> >  the example below does not work. (i know it's not supposed, but it makes
> it
> >  clear what i'm trying to achieve)
> >
> >  par(mfrow=c(2,1))
> >  xyplot(y~x2|x1,data=dataframe1,pch=20)
> >  xyplot(y~x2|x1,data=dataframe2,pch=20)
> >
> >  i know i could probably merge the two datasets and do something like
> >  xyplot(y~x2|x1+dataset,data=merged)
> >
> >  any other suggestion?
>
> xyplot(y~x2|x1+which,data=make.groups(dataframe1, dataframe2))
>
> -Deepayan
>

	[[alternative HTML version deleted]]

