[Rd] quantile() names
Merkle, Edgar C.
merk|ee @end|ng |rom m|@@our|@edu
Mon Dec 14 20:54:42 CET 2020
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]]
More information about the R-devel
mailing list