Learn R Programming

replyr (version 0.2.0)

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))

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].

Examples

Run this code

d <- data.frame(xvals=rev(1:1000))
replyr_quantilec(d,'xvals')

Run the code above in your browser using DataLab