It handles possible thrown errors in MacroPCA.
handle_macropca_errors(
object,
temp,
KMAX,
number_eigenvectors,
verbose = FALSE
)matrix of which the columns contain the chosen amount of eigenvectors of object
input
this is the result of the trycatch block of using macropca on object
parameter kmax in MacroPCA
number of principal components that are needed
when TRUE, it prints messages