scores: Retrieve the component scores

View source: R/all_generic.R

scoresR Documentation

Retrieve the component scores

Description

Extract the factor score matrix from a fitted model. The factor scores represent the projections of the data onto the components, which can be used for further analysis or visualization.

Usage

scores(x, ...)

Arguments

x

The model fit object.

...

Additional arguments passed to the method.

Value

A matrix of factor scores, with rows corresponding to samples and columns to components.

See Also

project for projecting new data onto the components.


bbuchsbaum/multivarious documentation built on April 15, 2024, 3:33 a.m.