[R] How can I draw a line in empirical distribution function?

Dieter Menne dieter.menne at menne-biomed.de
Thu Dec 16 15:21:02 CET 2010



zbynek.janoska at gmail.com wrote:
> 
> I believe that functions
> yline {fields}
> xline {fields}
> are what you´re looking for
> try to type
> yline(c(.25,.75))
> 

It work, but one should avoid pulling in a special package for such a job.
xline is defined as

function (x, ...) 
{
    abline(v = x, ...)
}

so better use abline.

Dieter



-- 
View this message in context: http://r.789695.n4.nabble.com/How-can-I-draw-a-line-in-empirical-distribution-function-tp3090675p3090941.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list