Performs Markov Chain Monte Carlo (MCMC) sampling on a graph model.
Gmcmc(
G,
X = NULL,
iter = 1000,
alpha = NULL,
theta = NULL,
loc = NULL,
burnin = 0
)A list containing samples of alpha, loc, and possibly theta.
Graph adjacency matrix.
Optional matrix of covariates.
Number of MCMC iterations to perform.
Initial values for alpha parameters.
Initial values for theta parameters.
Initial locations for nodes in the graph.
Number of burn-in iterations.