cut3_quantile: Cut3 by quantile *[Experimental]*

View source: R/cut3.R

cut3_quantileR Documentation

Cut3 by quantile [Experimental]

Description

Cut3 by quantile [Experimental]

Usage

cut3_quantile(tbl, var_name, .labels = NULL, .groups = NULL, .inf = TRUE, ...)

Arguments

tbl

data.frame: Database connection or data.frame

var_name

character: variable name

.labels

list: labels for the breaks

.groups

character: name of a groups variable

.inf

logical: indicates if the breaks need to be extended by -Inf and Inf

...

argument passed to quantile

Value

same as tbl input with var_name converted to factor by quantiles

Examples

## Not run: 
datos <- data.frame(edad = seq(1:100))
cut3_quantile(datos, "edad")

## End(Not run)

drdsdaniel/Dmisc documentation built on Oct. 23, 2024, 9:28 p.m.