Hi,
   
  How can I get the values of mean and median (not only points but values too) 
on the boxplot. I am using boxplot function from graphics package. Following is 
my data set
   
  > df 
  [1]  5  1  1  0  0 10 38 47  2  5  0 28  5  8 81 21 12  9  1 12  2  4 22  3
   
  > mean.val <- sapply(df,mean)
> boxplot(df,las = 1,col = "light blue")
> points(seq(df), mean.val, pch = 19)
   
  I could get mean as dot symbol but i need values too? Also how to print the 
x-axis labels vertically instead of horizontally? Is there any other function 
to achieve these?
   
  Thanx in advance.
   
  Sachin

   
   

__________________________________________________



        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to