rpca: RPCA

Description Usage Arguments Value

View source: R/rpca.R

Description

Rotated principal component analysis

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
rpca(
  x,
  k,
  scale = FALSE,
  sign_correction = TRUE,
  rotation = c("none", "varimax", "oblimin"),
  normalize = TRUE,
  maxit = 1000,
  eps = 1e-05,
  return_data = FALSE
)

Arguments

x

numeric matrix; data with variables as columns and samples as rows.

k

integer; number of principal components.

scale

logical; should the data be scaled?

sign_correction

logical; should signCorrectionPCA be called?

normalize

parameter passed to optimization routine (GPForth or GPFoblq).

maxit

parameter passed to optimization routine (GPForth or GPFoblq).

eps

parameter passed to optimization routine (GPForth or GPFoblq).

return_data

logical; should data be returned?

Value

A list with scores and loadings.


oliviermfmartin/HelpingHand documentation built on Oct. 10, 2020, 5:59 a.m.