[R] Horizontal Boxplot
Dragón
dragon379 at yahoo.es
Sun Feb 17 20:26:24 CET 2002
Hello all.
I'm just a beginner trying to draw a boxplot and I don't know why every time
I try to make it horizontal I receive the error message "parameter
'horizontal' couldn't be set in high-level plot() function". Can anybody give
me an advice?
Here is the code:
opar <- par(ask = interactive() && (.Device == "X11" || .Device == "windows"))
# For source
#pictex(file = "graf.tex", bg = "white", fg = "black", width = 4, height = 4,
debug = FALSE)
par(bg="cornsilk")
n <- 2
g <- c(452, 395, 317, 254, 202)
x <- c(590, 497, 414, 326, 276)
boxplot(g,x,horizontal=T)
title(main="Gross weekly earnings", ylab="Pounds", font.main=4, font.lab=1)
#dev.off()
Thanks
__________________________________________________
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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