filter_missing_values {HPiP} | R Documentation

## Drop the Missing Values Above a Certain Threshold

### Description

Given an input matrix, compute the missingness rate for each features and keep only features with missing rate more than user-defined percentage.

### Usage

    filter_missing_values(x, max_miss_rate = 20)

### Arguments

`x` | A numeric matrix as input.
`max_miss_rate` | Maximal missing rate allowed for a feature;default is 20.

### Details

filter_missing_values

### Value

A dataframe with features with missingness rate of more than user-defined threshold.

### Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com

### Examples

    x <- matrix(1:10, ncol = 2)
    x[, 2] <- NA
    filter_missing_values(x, 30)

[Package HPiP version 1.0.0 Index]