Learn R Programming

dmbc (version 0.4.0)

adjust_x: 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.

See Also

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

Examples

Run this code
# NOT RUN {
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
# }

Run the code above in your browser using DataLab