- DATA
original data to perform a PCA on.
- scale
a boolean, vector, or string. See expo.scale
for details.
- center
a boolean, vector, or string. See expo.scale
for details.
- DESIGN
a design matrix to indicate if rows belong to groups.
- make_design_nominal
a boolean. If TRUE (default), DESIGN is a vector that indicates groups (and will be dummy-coded). If FALSE, DESIGN is a dummy-coded matrix.
- masses
a diagonal matrix or column-vector of masses for the row items.
- weights
a diagonal matrix or column-vector of weights for the column items.
- graphs
a boolean. If TRUE (default), graphs and plots are provided (via epGraphs
)
- k
number of components to return.