age_bin: (IN DEVELOPMENT) Categorize Age into Bins

Description Usage Arguments Value Examples

Description

This function categorizes the age of a student using the California Community College System binning definitions.

Age Bin:

  1. 19 or Less

  2. 20 - 24

  3. 25 - 39

  4. 40 or Greater

  5. Unknown

Reference for definition: https://datamart.cccco.edu/App_Doc/Scorecard_Data_Mart_Specs.pdf

Usage

1

Arguments

x

An integer vector describing the age of a student

Value

Returns a character vector of length age with the appropriate bin.

Examples

1
2
3
x <- c(19, 18, 20, 25, 40, NA)

age_bin(x)

christian-million/researchR documentation built on May 15, 2019, 12:45 p.m.