Learn R Programming

multiblock (version 0.8.8.2)

compnames: Vector of component names

Description

Convenience function for creating a vector of component names based on the dimensions the input object (matrix or object having a score function).

Usage

compnames(object, comps, explvar = FALSE, ...)

Value

A character vector of component names.

Arguments

object

An object fitted using the multiblock package.

comps

integer vector of components.

explvar

logical indicating if explained variances should be included.

...

Unused

Details

This is a copy of compnames from the pls package to work with multiblock objects.