[R] Draw a circle at the end of a line

From: <Jue.Wang2_at_sanofi-aventis.com>
Date: Thu 12 Oct 2006 - 17:32:08 GMT

I have a plot of cumulative distribution function which is a step function, I'd like to put a cycle at the right end of each line to indicate that the value here is not available in this line.

How can I do that?

Thank you.

do.call("rbind",lapply(1:nrow(as.matrix(x)), function(i){ a<-x[i]
if (a<0.5){b=0.1}

else if (a<1){b=0.3}
else if (a<1.5){b=0.5}
else if (a<2.5){b=0.7}
else if (a<3){b=0.9}

else b<-1



Jue Wang, Biostatistician
Contracted Position for Preclinical & Research Biostatistics PrO Unlimited
(908) 231-3022

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 and provide commented, minimal, self-contained, reproducible code. Received on Fri Oct 13 03:36:15 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 12 Oct 2006 - 21:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.