Description Usage Arguments Value
View source: R/calculate_functions.R
Calculate Labor Force Status
1 2 3 4 5 6 7 | calc_labor_force_status(
data,
var_name,
new_name,
values_in = c(1, 2, 3, 4, 5),
values_out = c(6, 7, 8, 9, 10, 11, 12)
)
|
data |
A data frame |
var_name |
Name of column with employment status |
new_name |
Name of new column |
values_in |
Vector of values considered in the labor force |
values_out |
Vector of values considered out of the labor force |
a tbl with a new column for labor force
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.