(Re-)Compute the maximum a posteriori (MAP) estimates for a `dnc`

object. Primarily intended as an internal function called from `dnc(...)`

.

1 | ```
dncMAP(dncObj)
``` |

`dncObj` |
A |

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)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.