metric_complete: Compute completeness of each column

View source: R/metrics.R

metric_completeR Documentation

Compute completeness of each column

Description

This function calculates the completeness of each column in the dataset by subtracting the NA count from the total number of rows.

Usage

metric_complete(na, data)

Arguments

na

A vector of NA counts for each column.

data

The original dataset.

Value

A vector of completeness values (proportions) for each column.


dropout documentation built on Nov. 2, 2024, 1:12 a.m.