describe_missings: Compute missing statistics

View source: R/describe_missings.R

describe_missingsR Documentation

Compute missing statistics

Description

This function provides missing statistics by calculating a) the total sparseness and b) the missing percentage per column.

Usage

describe_missings(data)

Arguments

data

A data frame.

Value

A tibble with two columns:

  • variable The original names of the columns in data the missing percentage was calculated for

  • missings Percentage of missings

The first row of the returned tibble gives the total percentage of missings across all columns (i.e., "Total sparseness").

Examples

describe_missings(studach)

sophiestallasch/multides documentation built on Oct. 20, 2024, 5:14 a.m.