truncate: truncate a component fit

View source: R/all_generic.R

truncateR Documentation

truncate a component fit

Description

take the first n components of a decomposition

Usage

truncate(x, ncomp)

Arguments

x

the object to truncate

ncomp

number of components to retain

Value

a truncated object (e.g. PCA with 'ncomp' components)


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