Re: [R] How to control height of abline

2008-06-17 Thread Dimitris Rizopoulos
check this: x - rnorm(200) dd - density(x) plot(dd) ind - seq(100, 400, len = 6) arrows(dd$x[ind], 0, dd$x[ind], dd$y[ind] - 0.015, length = 0.2) I hope it helps. Best, Dimitris Dimitris Rizopoulos Biostatistical Centre School of Public Health Catholic University of Leuven Address:

Re: [R] How to control height of abline

2008-06-17 Thread Jorge Ivan Velez
Dear Satam Just take a look at Dimitris Rizopoulos' suggestion at http://www.nabble.com/How-to-control-height-of-abline-tp17932528p17932528.html HTH, Jorge On Tue, Jun 17, 2008 at 2:15 PM, sata pinal [EMAIL PROTECTED] wrote: I use matplot to get the density curve and then I use

Re: [R] How to control height of abline

2008-06-17 Thread Jorge Ivan Velez
I'm sorry Sata, I typed your name wrongly in the my previous email. My apologizes. Thanks, Jorge On Tue, Jun 17, 2008 at 3:19 PM, Jorge Ivan Velez [EMAIL PROTECTED] wrote: Dear Satam Just take a look at Dimitris Rizopoulos' suggestion at

Re: [R] How to control height of abline

2008-06-17 Thread mogra
Thanks Dimitris Rizopoulos wrote: check this: x - rnorm(200) dd - density(x) plot(dd) ind - seq(100, 400, len = 6) arrows(dd$x[ind], 0, dd$x[ind], dd$y[ind] - 0.015, length = 0.2) I hope it helps. Best, Dimitris Dimitris Rizopoulos Biostatistical Centre School of