Hi there,
I would like to be able to draw a density plot or a box plot where the median 
and the median and the mean would be visible.

If I decide a density plot I need to put two big marks one for the median and 
one for the mean, which I do not know how I can achieve to put marks in a 
density plot. For that I am using plot(density(myVector))

while on the boxplot median is already visible but mean not. To have the mean 
there I would have to add one more line on each boxplot, perhaps of different 
color but I am not sure if that is possible in R. boxplot(myVector) I am using

where myVector can be something like myVector<-seq(1,200)

I would like to thank you all in advance 
Regards
Alex
        [[alternative HTML version deleted]]

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

Reply via email to