handle_macropca_errors {RCTS}R Documentation

Helpfunction in robustpca().

Description

It handles possible thrown errors in MacroPCA.

Usage

handle_macropca_errors(
  object,
  temp,
  KMAX,
  number_eigenvectors,
  verbose = FALSE
)

Arguments

object

input

temp

this is the result of the trycatch block of using macropca on object

KMAX

parameter kmax in MacroPCA

number_eigenvectors

number of principal components that are needed

verbose

when TRUE, it prints messages

Value

matrix of which the columns contain the chosen amount of eigenvectors of object


[Package RCTS version 0.2.4 Index]