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
<[EMAIL PROTECTED]>wrote:

> On 10/27/08, erwann rogard <[EMAIL PROTECTED]> 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]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to