cut_quanti: Cut a quantitative variable in n equal parts

View source: R/cut_quanti.r

cut_quantiR Documentation

Cut a quantitative variable in n equal parts

Description

Cuts a quantitative variable in n equal parts

Usage

cut_quanti(x, n, ...)

Arguments

x

a numeric vector

n

numeric, the number of parts: 2 to cut according to the median, and so on...

...

other arguments to be passed in cut

Value

A factor vector

Author(s)

Hugo Varet

Examples

cut_quanti(cgd$height, 3)

packHV documentation built on April 4, 2025, 12:28 a.m.