View source: R/transformations.R
transform_equivalise | R Documentation |
experimental Scales a variable dividing it by 'nhhmem'^eq_scale. Where 'nhhmem' is the LIS or LWS variable measuring the number of members in the household.
transform_equivalise(lissy_files, variable, eq_scale = 0.5)
lissy_files |
A list of LIS or LWS files |
variable |
A character vector of length one with the indicator that needs to be transformed. |
eq_scale |
A real number. |
Throws a warning if the function is applied to a person-level variable.
A list of tibbles with the transformed variable.
## Not run:
lissy_files <- read_lissy_files(c("fr84h", "fr94h", "fr10h"))
transform_equivalise(list_files = lissy_files, variable = "dhi")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.