Skip to contents

Reconstruct a data set from its (possibly) low-rank representation. This can be useful when analyzing the impact of dimensionality reduction or when visualizing approximations of the original data.

Usage

reconstruct(x, comp, rowind, colind, ...)

Arguments

x

The model fit, typically an object of a class that implements a reconstruct method

comp

A vector of component indices to use in the reconstruction

rowind

The row indices to reconstruct (optional). If not provided, all rows are used.

colind

The column indices to reconstruct (optional). If not provided, all columns are used.

...

Additional arguments passed to the underlying reconstruct method

Value

A reconstructed data set based on the selected components, rows, and columns

See also

bi_projector for an example of a two-way mapping model that can be reconstructed