All,

Consider the code below

options(digits=2)
x <- 1:1000
quantile(x, .975)

The value returned is 975 (the 97.5th percentile), but the name has been 
shortened to "98%" due to the digits option. Is this intended? I would have 
expected the name to also be "97.5%" here. Alternatively, the returned value 
might be 980 in order to match the name of "98%".

Best,
Ed


        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to