deciles: returns the min, deciles, and max for a numeric vector

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

deciles takes in a numeric vector and returns a named vector that contains the min, 10, 20, 30, 40, 50, 60, 70, 80, and 90th percentiles, and the max. Missing values are always removed

Usage

1

Arguments

x

a numeric or integer vector

Value

a numeric vector with names for the corresponding decile

Examples

1
deciles(0:100)

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.