Description Usage Arguments Value Examples
In the ACS PUMS data, housing tenure is described with a 4-level integer-coded categorical that uses NA to mark vacant units. This function recodes tenure to a 3-level factor with no NA's. The levels are 'Own', 'Rent' and 'Vacant/GQ'.
1 | own.rent(house)
|
house |
a data frame of PUMS housing data |
a factor column of recoded tenure
1 2 | wa.house16$Tenure <- own.rent(wa.house16)
group.count(wa.house16, 'Tenure')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.