implement_equivalise: Apply equivalise by number of household members

View source: R/transformations.R

implement_equivaliseR Documentation

Apply equivalise by number of household members

Description

\lifecycle

experimental Applies the equivalisation by number of household members in a file for a single variable.

Usage

implement_equivalise(file, file_name, variable, eq_scale = 0.5)

Arguments

file

A LIS or LWS file.

file_name

The name of the LIS or LWS file.

variable

A string with the variable to which equivalisation should be applied.

eq_scale

A real number. Defaults to 0.5. The variable will be equivalized using n_household_members^eq_scale

Details

To be used inside transform_equivalise().

Value

A a file with the equivalised variable.


JosepER/lissyrtools documentation built on Jan. 26, 2025, 10:01 p.m.