Learn R Programming

replyr (version 0.2.0)

replyr_quantile: Compute quantiles on remote column (NA's filtered out).

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

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

Examples

Run this code

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

Run the code above in your browser using DataLab