max_na.Rd
Returns columns that have less than or equal to a specified amount of missingness.
max_na(x, max = 0.05)
x | Input data frame or matrix. |
---|---|
max | Maximum proportion of missingnesses allowed. Columns with higher proportions of missingness compared to this value will be dropped. Columns will only be returned if they have 1 - max proportion non-missing. This value must be between 0-1. It defaults to .05. |
Data frame or matrix with columns with less than or equal to the max allowed proportion of missingness.