Learn R Programming

dropout

The dropout package offers tools for dropout analysis in survey data. It helps you identify and handle incomplete responses.

dropout v2.2.0

The latest version of the dropout package introduces significant updates to the codebase, aimed at reducing unexpected behavior and minimizing dependencies by directly utilizing R's built-in C API.

If you need to access the previous version of the package, you can download it through Figshare.

Installation

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")

Features

  • 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.

For practical examples please refer to the package vignette.

Copy Link

Version

Install

install.packages('dropout')

Monthly Downloads

175

Version

2.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hendrik Mann

Last Published

October 16th, 2024

Functions in dropout (2.2.0)

metric_sec_na

Compute section NA metric for each column
dropout-package

dropout: Handling Incomplete Responses in Survey Data Analysis
drop_detect

Detect Instances of Dropout in Data
drop_summary

Summarize Missing Data Metrics for Each Column
flying

Flying Etiquette Survey Data
metric_complete

Compute completeness of each column
check_input

Check that the input is a valid dataframe
metrics_detect

Detect dropped observations and columns
metric_drop_index

Compute drop index for each row
c_prepare

Prepare data for C API: list of row-vectors with NA indicators
metric_drop

Compute drop metric for each column
metric_drop_id

Compute drop indicator for each row
metric_column

Compute column name for dropped observations
metric_na

Compute total NA count for each column
metric_single_na

Compute single NA metric for each column
metrics_summary

Generate a summary of metrics for the dataset
metric_sec_length

Compute section length metric for each column