create_choices: Create choices for a radio, dropdown, or checkbox question

Description Usage Arguments Examples

Description

Choices should take the format '1, option1 | 2, option2' etc. create_choices() takes a vector and returns a string in the required format.

Usage

1

Arguments

v

A character vector of choice labels.

Examples

1
2
v <- c("red", "green", "blue")
create_choices(v)

Sage-Bionetworks/redcapdd documentation built on May 17, 2019, 6:34 p.m.