processOpt {mogsa} | R Documentation

## preprocessing of input data in `mbpca`.

### Description

An internal function called by `mbpca`.

### Usage

    processOpt(x, center = TRUE, scale = FALSE, option = c("lambda1", "inertia", "uniform"))

### Arguments

`x` | A list of matrices, rows are observations and columns are variables
`center` | A logical variable indicates whether columns should be centered
`scale` | A logical variable indicates whether columns should be scaled
`option` | A charater string could be one of c("lambda1", "inertia", "uniform") to indicate how the different matrices should be normalized. If "lambda1", the matrix is divided by its the first singular value, if "inertia", the matrix is divided by its total inertia (sum of square), if "uniform", none of them would be done.

### Value

A `list` of normalized matrix.

### Author(s)

Chen Meng

[Package mogsa version 1.14.0 Index]