drop_summary {dropout}R Documentation

Summarizing Dropouts in Surveys

Description

drop_summary function provides a high-level summary of dropout occurrences in the survey data. It generates key statistics to understand the patterns of participant dropouts across different survey questions.

Usage

drop_summary(data, last_col = NULL, section_min = 3)

Arguments

data

A dataframe or tibble containing the survey data.

last_col

The index position or column name of the last survey item. This is optional and is used when there are additional columns in the data frame that are not part of the survey questions you are interested in.

section_min

Indicates occurrences of missing values that span at least n consecutive columns (n defaults to 3)

Value

A dataframe or tibble containing summary statistics about dropouts. Typical columns might include:

See Also

See vignette for detailed workflows, tips on interpretation, and practical examples.

Examples

# Basic usage
drop_summary(flying, "location_census_region")

# Summarizing dropouts up to a specific column
drop_summary(flying, last_col = "age")

# Read more in the vignette for interpreting summary statistics and plotting dropout trends.


[Package dropout version 2.1.1 Index]