toQuantiles: cuts continuous variable into quantiles

Description Usage Arguments Value Author(s)

View source: R/toQuantiles.R

Description

Takes an array of values and assign Quantiles to each one.

Usage

1
toQuantiles(values,n)

Arguments

values

array of values. The values must be able to rank.

n

number of Quantiles to make the assignment. Takes n=100 by default to assign a percentile to every value.

Value

It returns a List of factors with the percentile of cut of each Quantile.

Author(s)

Daniel Fischer


danielfm123/dftools documentation built on July 17, 2021, 1 p.m.