mrfse.sample: Generate a independent sample of a Markov random field
Description
Generate a independent sample of a Markov random field according to the probilities of the sampler.
Usage
mrfse.sample(sampler, n)
Value
A matrix whose number of columns is the number of nodes. Each line is a single independent sample of Markov random field given by the probabilites of sampler.
Arguments
sampler
A sampler created by mrfse.create.sampler function