replyr_quantile: Compute quantiles on remote column (NA's filtered out) using binary search.
Description
NA's filtered out and does not break ties the same as stats::quantile.
Usage
replyr_quantile(x, cname, probs = seq(0, 1, 0.25), ...,
tempNameGenerator = makeTempNameGenerator("replyr_quantile"))
Arguments
x
tbl or item that can be coerced into such.
cname
column name to compute over
probs
numeric vector of probabilities with values in [0,1].
...
force later arguments to be bound by name.
tempNameGenerator
temp name generator produced by cdata::makeTempNameGenerator, used to record dplyr::compute() effects.
Examples
Run this code# NOT RUN {
d <- data.frame(xvals=rev(1:1000))
replyr_quantile(d,'xvals')
# }
Run the code above in your browser using DataLab