On 3/9/06, Marc Bernard <[EMAIL PROTECTED]> wrote: > Dear All, > > I would be grateful if you can tell how can I suppress the legend > (automatically created) when I plot a groupedData. > > suppose that I have data farme df_0 which contains the following columns: > ID represents the clusters, t represents time of observation, Y: the > variable of interest and X a binary covariate. Then: > > df_1 <- groupedData(Y ~ t | ID) > > plot(df_1, outer ~X) > > This gives me the plot (Y ~ t) for each cluster with a legend containing > all the clusters. > > How can I drop the legend?
key=FALSE. See ?plot.nfnGroupedData or ?plot.nffGroupedData (whichever is appropriate according to the class(df_1)) for details. Deepayan ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html