This function makes it easy to parse the dropouts from a LimeSurvey questionnaire.
processLimeSurveyDropouts(lastpage,
pagenames = NULL,
relevantPagenames = NULL)
A vector with the 'lastpage' variable as LimeSurvey stores it (an integer denoting the last page a participant visited, in other words, where they dropped out).
Optional: names for each page.
Optional: the names of those pages that should be included.
A list with information about the dropout, including ggplot
s.
This will be described more in detail in a forthcoming publications.
# NOT RUN {
processLimeSurveyDropouts(c(1,2,1,1,2,3,2,2,3,2,1));
# }
Run the code above in your browser using DataLab