categorize: Categorize a vector based on a data.frame with two columns,...

Description Usage Arguments Value See Also

View source: R/Rfunctions.R

Description

Categorize a vector based on a data.frame with two columns, the low and high end points of each category.

Usage

1
2
  categorize(vec, cutpoints.df, match.min = TRUE,
    names = TRUE)

Arguments

vec

vector to categorize

cutpoints.df

quantile_cutpoints will create a data.frame of the proper format here

match.min

Whether to include or exclude the minimum value

names

Return names or row numbers

Value

Categorized values

See Also

quantile_cutpoints


taRifx documentation built on April 14, 2020, 6:27 p.m.

Related to categorize in taRifx...