calculate_domain: Function to calculate any of the domains of the Washington...

Description Usage Arguments Value Examples

View source: R/03-calculate_wg.R

Description

Function to calculate any of the domains of the Washington Group on Disability indicators.

Usage

1
calculate_domain(df, domain, add = FALSE)

Arguments

df

Dataframe containing Washington Group on Disability domain-specific variables.

domain

Variable name of domain-specific Washington Group on Disability indicator.

add

Logical. Should the calculated Washington Group on Disability domain values be added to df? If TRUE, Washington Group on Disability results for specific domain will be concatenated to df using cbind. Default is FALSE.

Value

A dataframe of domain-specific Washington Group on Disability indicators.

Examples

1
calculate_domain(df = individual, domain = "wg1")

validmeasures/wfpKenya documentation built on Feb. 12, 2020, 7:14 p.m.