Skip to contents

This function removes columns and rows with high missing values from the dataset.

Usage

remove_high_missingness(data, col_threshold = 10, row_threshold = 10)

Arguments

data

The input data frame.

col_threshold

The threshold percentage for column-wise missing values (default is 10`%`).

row_threshold

The threshold percentage for row-wise missing values (default is 10`%`).

Value

A list containing the original data, cleaned data, and details of removed columns and rows.