Just a short question:
Why does this work:
x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2)
F26<-boxplot(x,
add=FALSE,
horizontal=TRUE,
main="Figur 2.6 Boxplot",
axes=FALSE)
...but this doesn't...
x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2)
F26 <- boxplot(x)
plot(F26,
add=FALSE,
horizontal=TRUE,
main="Figur 2.6 Boxplot",
axes=FALSE)
Thanks for any help,
Squall44
--
View this message in context:
http://www.nabble.com/Question-about-writing-some-code-tf4297359.html#a12231853
Sent from the R help mailing list archive at Nabble.com.
squall44 wrote:> Just a short question: > Why does this work: > > x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) > F26<-boxplot(x, > add=FALSE, > horizontal=TRUE, > main="Figur 2.6 Boxplot", > axes=FALSE)boxplot returns some information on the boxplot, but the result cannot be plotted by boxplot itself. You can use bxp() to do so. Uwe Ligges> ...but this doesn't... > > x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) > F26 <- boxplot(x) > plot(F26, > add=FALSE, > horizontal=TRUE, > main="Figur 2.6 Boxplot", > axes=FALSE) > > Thanks for any help, > Squall44