Learn R Programming

dnc (version 1.2)

dncMAP: MAP estimates

Description

(Re-)Compute the maximum a posteriori (MAP) estimates for a dnc object. Primarily intended as an internal function called from dnc(...).

Usage

dncMAP(dncObj)

Arguments

dncObj
A dnc class object

Value

A list with the following elements:
alpha
Intercept
X
Latent positions
s
Receiver scaling effects
tau
Latent precision parameters
sigma2
Initial latent position variance (if M=0 only)
r
Magnitude of mean latent positions (if M>0 only)
u
Unit vectors defining communities (if M>0 only)
Z
Community assignments (if M>0 only)
beta
Initial cluster assignment probabilities (row 1) and transition probability matrix (rows 2 to M) (if M>0 only)