ed.cat: Categorize a continuous education variable into common...

Description Usage Arguments Value Examples

Description

Categorize a continuous education variable into common categories.

Usage

1
ed.cat(data, edvar, groups = "basic", factor = TRUE)

Arguments

data

Data Frame with the education variable to categorize.

edvar

Name of the education variable.

groups

Categorization Scheme: more, basic, higher

factor

Return a factor or not. Defaults to TRUE

Value

A factor, unless otherwise specified, with recoded edvar.

Examples

1

ColoradoDemography/ProfileDashboard documentation built on May 27, 2019, 1:08 a.m.