Description Usage Arguments Value Author(s)
A functions that helps in the development in new functionalities by generating a random question stats data. The answers count is generated through a uniform probability distribution. Labels can be employed in all categorical variables.
1 2 3 4 5 6 7 8 9 | gen_random_question(
n_sub,
n_answer,
label_answer = NULL,
label_sub_question = NULL,
label_question = NULL,
min_count = 1,
max_count = 500
)
|
n_sub |
Numeric. The number of sub_questions that is being generated |
n_answer |
Numeric. The number of answer options |
label_answer |
Vector. |
label_sub_question |
Vector. |
label_question |
Character. |
min_count |
Numeric. Minimum count value that an answer will receive |
max_count |
Numeric. Maximum count value that an answer will receive |
Sub-question answer stats data
Leonardo Rocha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.