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

Hu Chen chencheva at gmail.com
Wed Jun 15 16:40:46 CEST 2005


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.




More information about the R-help mailing list