adjust_x: Adjustment of the center and orientation of a latent...

View source: R/bmds.R

adjust_xR Documentation

Adjustment of the center and orientation of a latent configuration.

Description

adjust_x adjusts the center and orientation of a latent configuration in Bayesian (metric) multidimensional scaling (BMDS).

Usage

adjust_x(x)

Arguments

x

Numeric matrix containing the latent configuration.

Value

A list with elements:

x

A real matrix containing the adjusted latent configuration.

Sig_x

The variance and covariance matrix of the adjusted latent configuration.

Author(s)

Sergio Venturini sergio.venturini@unicatt.it

See Also

bmds for (one-way) Bayesian (metric) multidimensional scaling.

Examples

n <- 100
nr <- 20
nc <- floor(n/nr)
x <- matrix(rnorm(1:n), nrow = nr, ncol = nc)
adj_x <- adjust_x(x)
adj_x$x
adj_x$Sig_x

dmbc documentation built on April 26, 2022, 5:05 p.m.