sample_ERE: Sample from the ERE model with given row and column sums
Description
Samples from the Erdos Reny model with Exponential weights and
known marginals. Runs a Gibbs sampler to do this. A starting
liabilities is generated via getfeasibleMatr before
steps_ERE is called.
probability of existence of a link (either a numerical
value or a matrix). A single numerical value is converted into a
matrix with 0s on the diagonal.
lambda
instensity parameters - either a numerical value or a
matrix with positive entries)
nsamples
Number of samples to return.
thin
Frequency at which samples should be generated (default=1, every step)