add_question_type | R Documentation |
Adds a new type of question to the survey question auto-detector.
add_question_type(name, detector, processor)
name |
Text string containing the name of this question type |
detector |
Function that takes a single argument – a vector of data – and returns True or False – whether this data is of the correct type |
processor |
Function that takes a single argument – a vector of data – processes it, and returns the processed data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.