View source: R/user_interaction.R
userInput | R Documentation |
Wrap frequently used code to handle user input
userInput(question, choices, tag, hash)
question |
The question to be asked |
choices |
The accepted inputs. Leave empty for any input |
tag |
the tag code (for comments only) |
hash |
A string to attach to the decision in the UD. Ignored if input already has a hash string |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.