replyr_quantilec: Compute quantiles on remote column (NA's filtered out) using cumsum.
Description
NA's filtered out and does not break ties the same as stats::quantile.
Usage
replyr_quantilec(x, cname, probs = seq(0, 1, 0.25), ...,
tempNameGenerator = makeTempNameGenerator("replyr_quantilec"))
Arguments
x
tbl or item that can be coerced into such.
cname
column name to compute over (not 'n' or 'csum')
probs
numeric vector of probabilities with values in [0,1].
...
force later arguments to bind 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_quantilec(d,'xvals')
# }
Run the code above in your browser using DataLab