| sampler.net.attr | R Documentation |
Creates an object of class 'sampler_net_attr' (and 'R6'). Specifies MCMC sampling parameters for one component (attribute or network) within the 'iglm' simulation framework. Used as input to 'sampler.iglm()'.
sampler.net.attr(n_proposals = 10000, file = NULL, tnt = TRUE)
n_proposals |
(integer) Number of MCMC proposals per sampling update. Default: 10000. |
file |
(character or 'NULL') If provided, loads state from an .rds file. |
tnt |
(logical) If 'TRUE' (default), use Tie-No-Tie sampling. |
An object of class 'sampler_net_attr' (and 'R6').
'sampler.iglm'
sampler_comp_default <- sampler.net.attr()
sampler_comp_default
sampler_comp_custom <- sampler.net.attr(n_proposals = 50000, tnt = FALSE)
sampler_comp_custom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.