View source: R/analysis_dimReduction.R
reduceDimensionality | R Documentation |
Reduce dimensionality after processing missing values from data frame
reduceDimensionality(
data,
type = c("pca", "ica"),
center = TRUE,
scale. = FALSE,
naTolerance = NULL,
missingValues = round(0.05 * ncol(data)),
...
)
data |
Data frame: data |
type |
Character: dimensionality reduction technique ( |
center |
either a logical value or numeric-alike vector of length
equal to the number of columns of |
scale. |
Boolean: scale variables? |
naTolerance |
Integer: percentage of tolerated missing values per column (deprecated) |
missingValues |
Integer: number of tolerated missing values per column to be replaced with the mean of the values of that same column |
... |
Extra parameters passed to FUN |
PCA result in a prcomp
object or ICA result
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.