dict_choices: Creates choices from rows.

Description Usage Arguments Value Author(s) Examples

Description

This function gets variables (in rows) from the clipboard and outputs choices for pasting into the REDCap dictionary. It assigns values to the choices automatically.

Usage

1
dict_choices(stepsize = 1, stepmin = 1)

Arguments

stepsize

1 by default. The stepsize by which to increment the choice value from one choice to the next.

stepmin

1 by default. The value for the first choice

Value

A one-cell string with formatting according to choices in REDCap dictionary.

Author(s)

Michael Stoller <mstoller84@gmail.com> <michael.stoller@ctu.unibe.ch>

Examples

1
2
3
4
5
## Not run: 
#Run function with stepsize 1 and initial step 0
dict_choices(stepsize = 1, stepmin = 0)

## End(Not run)

mikestoller/ctuDM documentation built on May 26, 2019, 6:36 a.m.