Hi Oliver,
this a classic "paste" task
...main=paste("graph", i)...
hth.
Oliver schrieb:> hi,
>
> I am trying to plot a series of graph with varied titles (slightly).
> So I was trying to format it and pass it to "main" in the plot
> function, but it doesn't seem to work:
>
> for example: i is variable part
>
> plot( .... main=format(c("graph ", i)) ...)
>
> what is the correct way of handling this?
>
> Thanks
>
> Oliver
>
> ______________________________________________
> R-help at 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.
>