Add kin labels depending the sex
rename_kin(df, sex = "f")
Arguments
- df
data.frame. A data frame with variable kin
with DemoKin
codes to be labelled.
- sex
character. "f" for female, "m" for male or "2sex" for both sex naming.
Value
Add a column with kin labels in the input data frame.
Details
See table demokin_codes
to know label options.