drop_summary {dropout}R Documentation

Summarize Missing Data Metrics for Each Column

Description

The drop_summary function generates a summary of missing data (NA values) for each column in a dataframe. It computes various metrics such as the number of dropout participants, section NAs, the mode length of those missing value sections for, and the proportion of complete cases for each column.

Usage

drop_summary(data)

Arguments

data

A dataframe for which to analyze missing data.

Details

The function calls a C API to compute some metrics, which are then processed and returned as a summary dataframe.

Value

A dataframe containing the following columns:

Examples

## Not run: 
# Example usage with the 'flying' dataframe
summary_result <- drop_summary(flying)
print(summary_result)

## End(Not run)


[Package dropout version 2.2.0 Index]