compnames: Vector of component names

View source: R/utilities.R

compnamesR Documentation

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, ...)

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.

Value

A character vector of component names.


multiblock documentation built on Sept. 16, 2024, 9:06 a.m.