Excludemissing
Jump to navigation
Jump to search
Purpose
Automatically exclude too-much missing data in a matrix.
Synopsis
- [newx,bad] = excludemissing(x,threshold)
Description
Excludes rows, columns, or n-dim elements of input x which have too much missing based on the input threshold which is a fraction of allowed missing data. If omitted, threshold will be equal to the default max_missing value of the function MDCHECK (typically 0.40). Outputs are a dataset object with excluded elements newx and a cell holding the indices of the bad elements for each mode of data bad.