[R] plot-history

christian ozric at web.de
Fri Apr 12 19:20:30 CEST 2002


Hi,
how is it possible that the several
plot devices are not closed, or better how i can use
a plot history. 



normal <- function(x) {
    par(mfrow=c(2,2))
    hist(x)
    boxplot(x)
    sd <- summary(x)[5] - summary(x)[2]
    plot(density(x,width=2*sd),xlab="x",ylab="",type="l")
    qqnorm(x)
    qqline(x)
    }
    
apply(data,2,normal)
    

thanks for advance
& regards,Christian

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list