block_pca: block_pca

Description Usage Arguments

View source: R/subpca.R

Description

block_pca

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
block_pca(
  X,
  est_method = c("gcv", "shrink", "fixed", "nneg"),
  ncomp = 2,
  min_k = 1,
  max_k = 3,
  center = TRUE,
  scale = FALSE,
  shrink_method = "GSURE",
  ...
)

Arguments

X

the data matrix and instance of class block_matrix

est_method

the pca method to apply to each block

ncomp

the number of components to extract from each block (can vary by block or be fixed)

min_k

the minimum number of components in each block

max_k

the maximum number of components in each block

center

whether to center columns

scale

whether to scale columns


bbuchsbaum/neuropls documentation built on Dec. 9, 2020, 7:02 p.m.