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

Description Usage Arguments Examples

Description

NA's filtered out and does not break ties the same as stats::quantile.

Usage

1
2
3
4
5
6
7
replyr_quantilec(
  x,
  cname,
  probs = seq(0, 1, 0.25),
  ...,
  tempNameGenerator = mk_tmp_name_source("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 wrapr::mk_tmp_name_source, used to record dplyr::compute() effects.

Examples

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

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.