Description Usage Arguments Details Value Author(s) Examples
tab_survey_question
Create a statistical table for a target question
1 | tab_survey_question(surveydata, question_number)
|
surveydata |
List. A list of composed of tibbles of survey data, answers labels and questions labels, generated by |
question_number |
Numeric. Number of the main question |
This function create a tibble table, with percent values for each answer and knowledge level for all sub-question (if any) regarding the target main question. It takes a survey data, select the main question, with it's respectives sub-questions, and calculate percent values for each answer, sub-question and knowledge level. Also for each sub-question, it makes a chi-square test for the correlation between responses and knowledge level. Finally, the function applies the question and answers labels.
Tibble. Table with percent values and p-value (chi-squared test between knowledge level) for sub-questions and knowledge levels.
Leonardo Rocha
1 2 | tab_survey_question(surveydata = AI_survey, question_number = 4)
tab_survey_question(AI_survey, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.