Aliases: qtile qtile.integer64 quantile.integer64 median.integer64 mean.integer64 summary.integer64
Keywords: univar
### ** Examples x <- as.integer64(sample(c(rep(NA, 9), 1:9), 32, TRUE)) qtile(x, probs=seq(0, 1, 0.25))
integer64 0% 25% 50% 75% 100% 2 4 6 8 9
quantile(x, probs=seq(0, 1, 0.25), na.rm=TRUE)
integer64 0% 25% 50% 75% 100% 2 4 6 8 9
median(x, na.rm=TRUE)
integer64 [1] 6
summary(x)
integer64 Min. 1st Qu. Median Mean 3rd Qu. Max. NA's 2 4 6 5 8 9 13
x <- x[!is.na(x)] stopifnot(identical(x, unname(qtile(x, probs=prank(x)))))