par() function problem
What is your real intention?
Real intention to do this is to pass line type arguments to function
which calls plot and lines as an argument, as shown bellow.
xx<-function(type){
plot(c(1,2,3),c(3,4,5),type)
}
xx(c(type="b",lty=1))
This solution can not be used, but I can pass arguments to par
function
par(type)
Jakub Zlamal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._