[R] "ylab" argument to plot.stepfun

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Jan 24 17:56:50 CET 2004



On Fri, 23 Jan 2004, Aleksey Naumov wrote:

> Dear R Users,
> 
> Does anyone know how to specify Y-label in plot.stepfun()? I do:
> 
> > library(stepfun)
> > x = ecdf(rnorm(30))
> > plot(x, ylab='CDF')
> 
> and I get:
> 
> Error in plot.stepfun(ylab = "Fn(x)", ..., verticals = verticals) :
>   formal argument "ylab" matched by multiple actual arguments

Well, get a recent version of R (R-1.8.1 is recent) and try again (it
works!).

Uwe Ligges

 
> Thanks,
> Aleksey
> 
>




More information about the R-help mailing list