Convenience function for creating a vector
of component names based on the dimensions the input object
(matrix or object having a score function).
compnames(object, comps, explvar = FALSE, ...)An object fitted using the multiblock package.
integer vector of components.
logical indicating if explained variances should be included.
Unused
A character vector of component names.
This is a copy of compnames from the pls package to work with
multiblock objects.