Hi, I want to use the quantile function, the example shown under "help"

x <- rnorm(1001)
quantile(x <- rnorm(1001)) # Extremes & Quartiles by default
quantile(x,  probs = c(0.1, 0.5, 1, 2, 5, 10, 50, NA)/100)

I get the following error:
Error in quantile(x, probs = c(0.1, 0.5, 1, 2, 5, 10, 50, NA)/100) : 
  unused argument (probs = c(0.1, 0.5, 1, 2, 5, 10, 50, NA)/100)

The argument probs does not seems to work. I tried many other variations. Does 
anybody have an idea?

Thanks, Felix
______________________________________________
R-help@r-project.org 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.

Reply via email to