Gmcmc {rgm} | R Documentation |
Graph MCMC Sampler
Description
Performs Markov Chain Monte Carlo (MCMC) sampling on a graph model.
Usage
Gmcmc(
G,
X = NULL,
iter = 1000,
alpha = NULL,
theta = NULL,
loc = NULL,
burnin = 0
)
Arguments
G |
Graph adjacency matrix. |
X |
Optional matrix of covariates. |
iter |
Number of MCMC iterations to perform. |
alpha |
Initial values for alpha parameters. |
theta |
Initial values for theta parameters. |
loc |
Initial locations for nodes in the graph. |
burnin |
Number of burn-in iterations. |
Value
A list containing samples of alpha, loc, and possibly theta.
[Package rgm version 1.0.4 Index]