The dropout
package offers robust tools for dropout analysis in survey data. It helps you identify and handle incomplete responses effectively to ensure the quality of your research findings.
If you encounter any issues with the software, please report them in the GitHub Repository within the Issues section https://github.com/hendr1km/dropout/issues. This will help to identify and address problems more efficiently. If you wish to contribute to the software please use a pull request. Additionally, if you require support with the software or have any related inquiries, please feel free to contact me at hendrik.mann@uni-wuppertal.de. Your feedback and questions are valuable for the future development of the package.
You can install the development version of dropout
from GitHub using the following command:
# Install the released version from CRAN
install.packages("dropout")
# development version from GitHub:
devtools::install_github("hendr1km/dropout")
drop_detect: Detects participants who drop out of the survey by recognizing NA sequences up to the last question of the survey. Additionally, the function provides the column name and index where the dropout occurs.
dropout_summary: Offers a high-level summary of dropout occurrences, providing key statistics to understand the patterns of participant dropouts across different survey questions.
drop_detect
library(dropout)
library(dplyr) # not necessary, but recommended
# Detect dropouts in the 'flying' dataset up to the column "location_census_region"
drop_detect(flying, "location_census_region") %>%
bind_cols(flying, .) %>%
filter(dropout == FALSE | dropout_index > 22)
dropout_summary
library(dropout)
# Summarizing dropouts in the 'flying' dataset up to the column "location_census_region"
dropout_summary(flying, "location_census_region")
For more details, practical examples, and tips on interpreting summary statistics, please refer to the package vignette.