metric_complete {dropout} | R Documentation |
This function calculates the completeness of each column in the dataset by subtracting the NA count from the total number of rows.
metric_complete(na, data)
na |
A vector of NA counts for each column. |
data |
The original dataset. |
A vector of completeness values (proportions) for each column.