cutq: cutq

Description Usage Arguments Details Value

View source: R/cutq.R

Description

Discretize a numeric vector along quantiles

Usage

1
cutq(vec, n = 10, ...)

Arguments

vec

numeric/integer vector

n

number of buckets (atleast two)

...

extra named arguments passed to 'cut'

Details

By passing extra arguments to 'cut', output can be styled

Value

A factor


talegari/sidekicks documentation built on Sept. 26, 2018, 4:18 p.m.