[R] Problem with plot()

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jan 16 19:26:50 CET 2006

Andrej Kastrin wrote:

> Dear R useRs,
> I have a problem to add title to the following graphics;
> Tukey=TukeyHSD(aov(CA~C), "C",ordered=TRUE))
> plot (Tukey, main="My first graph")
> actually, it draw a graph, but it also display:
> parameter "main" could not be set in high-level plot() function.
> If I execute:
> plot(rnorm(1000),main="My first plot"), no error occur.
> What's the difference in those two examples? Thanks in advance.
> ______________________________________________
> R-help at 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

The title is hardcoded in plot.TukeyHSD().
and see its code. Simply adapt it as you need ...

Uwe Ligges

More information about the R-help mailing list