This function filters the input matrix x
depending on the presence of NAs.
A variable is removed if sum of NA elements is greater than a given percentage defined by threshold
.
Default is 0.5 (i.e. select variables with less than 50\
Arguments
- x
the input matrix, where rows are observations and columns are variables.
- threshold
the cutoff
- logger
a Logger
Value
A Filtered object