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.
PCA.Filler(data.mat, num.of.pcs = 2)
a numeric matrix or data frame. Long, wide and squared matrix supported. NAs supported.
is an integer specifying the number of components to be used. Default 2.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.