Try with more data points?!
You have only five points, the last one being considered as outlier.
Note that boxplot() requires a numeric vector for specifying data from
which the boxplots are to be produced!
HTH
Ivan
Le 10/13/2010 09:50, tom a écrit :
Hello!
I am using box plot and one of my boxes has only one whisker. How can I
change this?
Code:
bp<-c(2.7, 3.1, 3.5, 8.95)
Methode1<- quantile(bp,type = 7)
Methode2<- quantile(bp,type = 2)
d<-data.frame(Methode1,Methode2)
boxplot(d,ylab = "Beispiel 1",range = 1.5)
http://r.789695.n4.nabble.com/file/n2993262/boxplot_with_one_whisker.png
Thanks!
Tom
--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calan...@uni-hamburg.de
**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/mitarbeiter.php
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.