remap_sex: Remap the Sex Input Variable

Description Usage Arguments Value Examples

View source: R/helper.R

Description

Remaps to c("Male", "Female") if user selects "Both"

Usage

1

Arguments

x

A scalar string indicating the radio button selection.

Value

A character vector.

Examples

1
2
3
remap_sex("Male")
remap_sex("Both")
remap_sex()

UBC-MDS/obesity-explorer-R documentation built on Feb. 7, 2021, 4:37 a.m.