observed_to_latent: From observed X to latent Z

View source: R/transform_fun.R

observed_to_latentR Documentation

From observed X to latent Z

Description

Given data matrix X, prepare the latent matrix Z and the value bounds for the ordinal dimensions

Usage

observed_to_latent(X, d_index, method = "univariate_mean")

Arguments

X

Original observation matrix

d_index

Boolean vector with TRUE at ordinal dimensions

method

method for initializing the mean

Value

A list containing

Z

Transformed latent matrix

Lower

Lower boundary for ordinal dimensions. NA at missing locations.

Upper

Upper boundary for ordinal dimensions. NA at missing locations.


udellgroup/mixedgcImp documentation built on Jan. 25, 2023, 7:55 p.m.