updateUm: Regime-specific latent node positions

View source: R/updateUm.R

updateUmR Documentation

Regime-specific latent node positions

Description

Update regime-specific latent node positions using optimized C++ implementation. Uses Rcpp/RcppArmadillo for high-performance matrix operations.

Usage

updateUm(ns, U, V, R, Zm, Km, ej, s2, eU, iVU, UL.Normal)

Arguments

ns

The number of latent states

U

THe latent node positions

V

Layer-specific network generation rule.

R

The dimensionality of latent space

Zm

Regim-specific Z - beta

Km

The dimension of regime-specific Z.

ej

Regime indicator.

s2

The variance of error.

eU

The regim-specific mean of U.

iVU

The regim-specific variance of U.

UL.Normal

Normalization method for U. "Normal" or "Orthonormal" are supported.

Value

A matrix of regime-specific latent node positions


NetworkChange documentation built on April 7, 2026, 9:07 a.m.