Description Usage Arguments Value Author(s) Examples
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.
1 | dict_choices(stepsize = 1, stepmin = 1)
|
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 |
A one-cell string with formatting according to choices in REDCap dictionary.
Michael Stoller <mstoller84@gmail.com> <michael.stoller@ctu.unibe.ch>
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.