Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ergm_proposal_table

Table mapping reference,constraints, etc. to ERGM Metropolis-Hastings proposals


Description

This is a low-level function not intended to be called directly by end users. For information on Metropolis-Hastings proposal methods, ergm-proposals. This function sets up the table mapping constraints, references, etc. to ergm_proposals. Calling it with arguments adds a new row to this table. Calling it without arguments returns the table so far.

Usage

ergm_proposal_table(Class, Reference, Constraints, Priority, Weights, Proposal)

Arguments

Class

default to "c"

Reference

The reference measure used in the model. For the list of reference measures, see ergm-references

Constraints

The constraints used in the model. For the list of constraints, see ergm-constraints

Priority

On existence of multiple qualifying proposals, specifies the priority (-1,0,1, etc.) of proposals to be used.

Weights

The sampling weights on selecting toggles (random, TNT, etc).

Proposal

The matching proposal from the previous arguments.

Note

The arguments Class, Reference, and Constraints can have length greater than 1. If this is the case, the rows added to the table are a Cartesian product of their elements.


ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks

v3.11.0
GPL-3 + file LICENSE
Authors
Mark S. Handcock [aut], David R. Hunter [aut], Carter T. Butts [aut], Steven M. Goodreau [aut], Pavel N. Krivitsky [aut, cre] (<https://orcid.org/0000-0002-9101-3362>), Martina Morris [aut], Li Wang [ctb], Kirk Li [ctb], Skye Bender-deMoll [ctb], Chad Klumb [ctb], Michał Bojanowski [ctb], Ben Bolker [ctb]
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.