[R] how to plot density distribution with a arrow pointer?

From: Hu Chen <chencheva_at_gmail.com>
Date: Thu 16 Jun 2005 - 00:40:46 EST


Hi all,
for example:
> X<- rnorm(1000)
> X0 <- 0.899

I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value.

any functions?

Thanks very much.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 16 00:44:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:42 EST