selector: Filters well-being data based on country, indicator, sample...

Description Usage Arguments Value See Also Examples

View source: R/select_wellber.R

Description

Filters well-being data based on country, indicator, sample type and window size

Usage

1
selector(obj, country, qual_ind, samp_type, wind_size)

Arguments

obj

An object of class wellber from load.wellber

country

The selected OECD country to compare against, of which there are 39

qual_ind

The selected well-being indicator, of which there are 24

samp_type

The sample type to be considered, either Total, Men, Women

wind_size

The size of the plot range, either Small, Medium or Large

Value

Returns a list of class wellber that includes the filtered indicator dataset, with min and max values, and an indicator class dataset based on the indicator variable selected

See Also

load.wellber, plot

Examples

1
2
3
data_object = load.wellber()
subset_data = selector(data_object, country = 'Chile',
qual_ind = 'Housing expenditure', samp_type = 'Total', wind_size = 'Small')

jovard/wellber documentation built on May 20, 2019, 5:43 p.m.