Description Usage Arguments Value Author(s) Examples
Automatically generate histogrammes for each of the integer questions in the dataset. ggplot2 is used.
1 | kobo_histo_indiv(data, question, dicofile = "dico.csv")
|
data |
Dataframe containing data to analyse |
question |
Question to be treated by the function. It should be the "name" of the questions as in the dictionnary or XLSform. The question has to be a decimal or integer question in the dictionary. |
dicofile |
Name of the file containing the dictionnary. "dico.csv" is used by default. |
Returns a list containing four elements:
variable : The name of the question (variable) analysed
plot: A ggplot2 object with a basic bar or density graph depending on the question
freq_tbl: A frequency table of the question of the question
summary: summary statistics (quartiles and mean). Only for decimal/integer questions.
other: Other information on the question: # respondents answered the form, # and
Edouard Legoupil, Elliott Messeiller
1 2 3 4 5 | kobo_histo_indiv()
## Not run:
kobo_histo_indiv()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.