[R] "ylab" argument to plot.stepfun

Aleksey Naumov naumov at acsu.buffalo.edu
Sat Jan 24 01:45:21 CET 2004


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

Thanks,
Aleksey

-- 
Aleksey Naumov
GIS Analyst
Center for Health and Social Research
Buffalo State College




More information about the R-help mailing list