reconstruct: Reconstruct the data

View source: R/all_generic.R

reconstructR Documentation

Reconstruct the data

Description

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


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