income_bin2nok: Turn income bins to mean of bin

View source: R/income-funcs.R

income_bin2nokR Documentation

Turn income bins to mean of bin

Description

Older collected income data for LCBC collected income information in 7 bins. Newer data collects continuous income data. This function converts binned income data from these 7 categories into the mean income value for each bin.

Usage

income_bin2nok(x)

Arguments

x

income bin vector

Value

numeric

Examples

x <- c("< 200k", "600k - 699k", "400k - 499k", 
       "> 700k", "500k - 599k", "300k - 399k", 
        "200k - 299k")
income_bin2nok(x)

LCBC-UiO/Questionnaires documentation built on July 18, 2023, 6:45 p.m.