Description Usage Arguments Details
lsm
runs MCMC sampler in the LSM model for a static network.
1 2 |
Y |
A sociomatrix for observed network |
initialVals |
A list of values for initializing the chain for |
priors |
A list of parameters for prior distribution specified as |
tune |
A list of tuning parameters. If set to NULL, default values are used. |
tuneIn |
Logical option to specify whether to auto tune the chain or not. Default is |
dd |
Dimension of the latent space |
niter |
Number of MCMC iterations to run |
lsm
runs MCMC sampler for the LSM model of Hoff(2001) and returns samples from the posteriors chains of the parameters,
the posterior likelihood at the accpeted parameters, a list of acceptance rates from the metropolis hastings sampling,
and a list of the tuning values if tuneIn
is set to TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.