View source: R/transform_fun.R
observed_to_latent | R Documentation |
Given data matrix X
, prepare the latent matrix Z
and the value bounds for the ordinal dimensions
observed_to_latent(X, d_index, method = "univariate_mean")
X |
Original observation matrix |
d_index |
Boolean vector with |
method |
method for initializing the mean |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.