Takes a matrix with NAs and returns a matrix without NAs.
Takes data.mat and calculates and returns predicted data.mat. Uses by default a 2 component PCA model.
No centering or scaling. Supports NAs and similar. Rownames/colnames are retained.
Columns/rows with only NAs (or similar) are removed.
Usage
PCA.Filler(data.mat, num.of.pcs = 2)
Arguments
data.mat
a numeric matrix or data frame. Long, wide and squared matrix supported. NAs supported.
num.of.pcs
is an integer specifying the number of components to be used. Default 2.