Learn R Programming

dropout (version 2.2.0)

metric_complete: 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)

Value

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

Arguments

na

A vector of NA counts for each column.

data

The original dataset.