Z_up: Update step for the latent positions

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Accept/reject the proposals for the latent positions

Usage

1
Z_up(Y, Z, W, alpha, zdelta, mu_z, sd_z)

Arguments

Y

Adjacency matrix of the observed network

Z

Latent positions matrix

W

BLSM Weights matrix of the observed network

alpha

Model variable α

zdelta

Standard deviation of the Gaussian proposal for latent positions

mu_z

Mean of the Gaussian prior distribution for latent positions

sd_z

Standard deviation of the Gaussian prior distribution for latent positions

Value

Updated latent positions matrix


adonizetti/BLSM documentation built on May 25, 2019, 2:24 p.m.