recompute: Recompute missing values of cacomp object.

View source: R/convert.R

recomputeR Documentation

Recompute missing values of cacomp object.

Description

The caobj needs to have the std_coords_cols, the prin_coords_rows and D calculated. From this the remainder will be calculated. Future updates might extend this functionality.

Usage

recompute(calist, mat, rm_zeros = TRUE, top = nrow(mat), ...)

Arguments

calist

A list with std_coords_cols, the prin_coords_rows and D.

mat

A matrix from which the cacomp object is derived from.

rm_zeros

Removes rows & columns containing only zeros.

top

number of most variable rows to keep when running cacomp. Default is nrow(mat).

...

Further arguments forwarded to cacomp.

Value

A cacomp object with additional calculated row_masses, col_masses, std_coords_rows, U and V.


VingronLab/APL documentation built on Feb. 14, 2024, 11:40 a.m.