handle_macropca_errors: Helpfunction in robustpca().

View source: R/03_IFE_algorithm_functions.R

handle_macropca_errorsR 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


eh-in-r/RCTS documentation built on May 19, 2023, 1:09 p.m.