Hi
The following gotcha took me a long time to catch:
f <- function(x, main0="red", ...){
par(col.axis=main0)
plot(x,...)
}
f(1:10,main="title here")
f(1:10,main="title here",main0="blue")
I can't quite succinctly summarize why the second case works but the
first one
doesn't.
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html