Description Usage Arguments Value
Takes answers from the shiny input objects and appends them to a list. For
this to work, pageList must be created with createPageList
or
have the same structure. If there are reversed scales in a questionnaire it
will also reverse them.
1 | getValues(pageList, nmrc, inputList)
|
pageList |
list. The page parameters, such as ids and text to
display. Create this with |
nmrc |
logical. If TRUE it is assumed that input was saved as numbers and as.numeric will be called on the vector after processing. This ensures that it's possible to e.g. calculate a mean of the vector later on. If FALSE values will be returned as characters. |
inputList |
The input object from the shiny app. |
A list containing the user inputs to the questionnaire.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.