Package: ergm 4.7.5-7458

Pavel N. Krivitsky

ergm: Fit, Simulate and Diagnose Exponential-Family Models for Networks

An integrated set of tools to analyze and simulate networks based on exponential-family random graph models (ERGMs). 'ergm' is a part of the Statnet suite of packages for network analysis. See Hunter, Handcock, Butts, Goodreau, and Morris (2008) <doi:10.18637/jss.v024.i03> and Krivitsky, Hunter, Morris, and Klumb (2023) <doi:10.18637/jss.v105.i06>.

Authors:Mark S. Handcock [aut], David R. Hunter [aut], Carter T. Butts [aut], Steven M. Goodreau [aut], Pavel N. Krivitsky [aut, cre], Martina Morris [aut], Li Wang [ctb], Kirk Li [ctb], Skye Bender-deMoll [ctb], Chad Klumb [ctb], Michał Bojanowski [ctb], Ben Bolker [ctb], Christian Schmid [ctb], Joyce Cheng [ctb], Arya Karami [ctb], Adrien Le Guillou [ctb]

ergm_4.7.5-7458.tar.gz
ergm_4.7.5-7458.zip(r-4.5)ergm_4.7.5-7458.zip(r-4.4)ergm_4.7.5-7458.zip(r-4.3)
ergm_4.7.5-7458.tgz(r-4.4-x86_64)ergm_4.7.5-7458.tgz(r-4.4-arm64)ergm_4.7.5-7458.tgz(r-4.3-x86_64)ergm_4.7.5-7458.tgz(r-4.3-arm64)
ergm_4.7.5-7458.tar.gz(r-4.5-noble)ergm_4.7.5-7458.tar.gz(r-4.4-noble)
ergm_4.7.5-7458.tgz(r-4.4-emscripten)ergm_4.7.5-7458.tgz(r-4.3-emscripten)
ergm.pdf |ergm.html
ergm/json (API)
NEWS

# Install 'ergm' in R:
install.packages('ergm', repos = c('https://statnet.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/statnet/ergm/issues

Datasets:
  • cohab_MixMat - Target statistics and model fit to a hypothetical 50,000-node network population with 50,000 nodes based on egocent
  • cohab_PopWts - Target statistics and model fit to a hypothetical 50,000-node network population with 50,000 nodes based on egocent
  • cohab_TargetStats - Target statistics and model fit to a hypothetical 50,000-node network population with 50,000 nodes based on egocent
  • ecoli1 - Two versions of an E. Coli network dataset
  • ecoli2 - Two versions of an E. Coli network dataset
  • faux.desert.high - Faux desert High School as a network object
  • faux.dixon.high - Faux dixon High School as a network object
  • faux.magnolia.high - Goodreau's Faux Magnolia High School as a network object
  • faux.mesa.high - Goodreau's Faux Mesa High School as a network object
  • flobusiness - Florentine Family Marriage and Business Ties Data as a "network" object
  • flomarriage - Florentine Family Marriage and Business Ties Data as a "network" object
  • g4 - Goodreau's four node network as a "network" object
  • kapferer - Kapferer's tailor shop data
  • kapferer2 - Kapferer's tailor shop data
  • molecule - Synthetic network with 20 nodes and 28 edges
  • samplike - Cumulative network of positive affection within a monastery as a "network" object
  • samplk1 - Longitudinal networks of positive affection within a monastery as a "network" object
  • samplk2 - Longitudinal networks of positive affection within a monastery as a "network" object
  • samplk3 - Longitudinal networks of positive affection within a monastery as a "network" object

On CRAN:

15.21 score 98 stars 34 packages 1.2k scripts 9.0k downloads 19 mentions 121 exports 34 dependencies

Last updated 9 days agofrom:dfbce58cff. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-win-x86_64OKNov 07 2024
R-4.5-linux-x86_64OKNov 07 2024
R-4.4-win-x86_64OKNov 07 2024
R-4.4-mac-x86_64OKNov 07 2024
R-4.4-mac-aarch64OKNov 07 2024
R-4.3-win-x86_64OKNov 07 2024
R-4.3-mac-x86_64OKNov 07 2024
R-4.3-mac-aarch64OKNov 07 2024

Exports:.simulate_formula.network%ergmlhs%%ergmlhs%<-approx.hotelling.diff.testas.ergm_modelas.rlebdmcall.ErgmTermcheck.ErgmTermCOLLAPSE_SMALLESTcontrol.ergmcontrol.ergm.bridgecontrol.ergm.godfathercontrol.gof.ergmcontrol.gof.formulacontrol.logLik.ergmcontrol.sancontrol.simulatecontrol.simulate.ergmcontrol.simulate.formulacontrol.simulate.formula.ergmconvert_ergmlhsdegreedistenformulate.curvedergmergm_attr_levelsergm_bd_initergm_Cstate_clearergm_cutoff_messageergm_dyadgen_selectergm_edgecov_argsergm_get_vattrERGM_GET_VATTR_MULTIPLE_TYPESergm_GWDECAYergm_Init_abortergm_Init_informergm_Init_messageergm_Init_stopergm_Init_tryergm_Init_warnergm_Init_warningergm_keywordERGM_LEVELS_SPECergm_MCMC_sampleergm_MCMC_slaveergm_mk_std_op_namewrapergm_modelergm_no_ext.encodeergm_plot.mcmc.listergm_preprocess_responseergm_propagate_ext.encodeergm_proposalergm_proposal_tableergm_SAN_slaveergm_stateERGM_STATE_C_CHANGEDergm_state_cacheERGM_STATE_R_CHANGEDergm_state_receiveERGM_STATE_RECONCILEDergm_state_sendergm_symmetrizeERGM_VATTR_SPECERGM_VATTR_SPEC_NULLergm.allstatsergm.bridge.0.llkergm.bridge.dindstart.llkergm.bridge.llrergm.designergm.estfunergm.etaergm.etagradergm.etagradmultergm.exactergm.geodistdistergm.geodistnergm.getClusterergm.getnetworkergm.godfatherergm.plergm.restartClusterergm.stopClusterergmMPLEfix.curvedget.MT_termsget.node.attrgeweke.diag.mvgofis.curvedis.dyad.independentis.ergmis.ergm_stateis.valuedLARGESTlogLikNullmcmc.diagnosticsnetwork.listnparamnthreadsnvattr.copy.networkoffset.info.formulaparam_namesparam_names<-rank_test.ergmrlebdmsansearch.ergmConstraintssearch.ergmHintssearch.ergmProposalssearch.ergmReferencessearch.ergmTermsset.MT_termsshrink_into_CHsimulate_formulaSMALLESTsnctrlspectrum0.mvarsummary_formulato_ergm_Cdoubleupdate_networkwrap.ergm_modelwtd.median

Dependencies:cachemclicodaDEoptimRevaluatefansifastmapgluehighrknitrlatticelifecyclelpSolveAPImagrittrMatrixmemoisenetworkpillarpkgconfigpurrrrbibutilsRdpackrlangrlerobustbasestatnet.commonstringistringrtibbletrustutf8vctrsxfunyaml

API for Callback Functions for Network and WtNetwork Structures

Rendered fromNetwork-Callback-API.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2024-11-05
Started: 2020-05-02

API for ergm Terms

Rendered fromTerms-API.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2024-11-01
Started: 2019-06-22

API for MCMC Proposal Selection

Rendered fromProposal-Lookup-API.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2024-11-05
Started: 2020-06-01

ERGM terms cross-reference

Rendered fromergm-term-crossRef.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2022-05-31
Started: 2014-07-29

Introduction to Exponential-family Random Graph Models with ergm

Rendered fromergm.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2024-11-06
Started: 2021-04-20

Nodal Attribute Specification in ERGM Terms

Rendered fromnodal_attributes.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2024-09-29
Started: 2020-09-21

Readme and manuals

Help Manual

Help pageTopics
A meta-constraint indicating handling of arbitrary dyadic constraints.dyads-ergmConstraint
Absolute difference in nodal attributeabsdiff-ergmTerm InitErgmTerm.absdiff InitWtErgmTerm.absdiff
Categorical absolute difference in nodal attributeabsdiffcat-ergmTerm InitErgmTerm.absdiffcat InitWtErgmTerm.absdiffcat
Alternating k-staraltkstar-ergmTerm InitErgmTerm.altkstar
ANOVA for ERGM Fitsanova.ergm anova.ergmlist
Approximate Hotelling T^2-Test for One or Two Population Meansapprox.hotelling.diff.test
Create a Simple Random network of a Given Sizeas.network.numeric
Asymmetric dyadsasymmetric-ergmTerm InitErgmTerm.asymmetric
Number of dyads with values greater than or equal to a thresholdatleast-ergmTerm InitWtErgmTerm.atleast
Number of dyads with values less than or equal to a thresholdatmost-ergmTerm InitWtErgmTerm.atmost
Edge covariate by attribute pairingattrcov-ergmTerm InitErgmTerm.attrcov
Wrap binary terms for use in valued modelsB-ergmTerm InitWtErgmTerm.B
Concurrent node count for the first mode in a bipartite networkb1concurrent-ergmTerm InitErgmTerm.b1concurrent
Main effect of a covariate for the first mode in a bipartite networkb1cov-ergmTerm InitErgmTerm.b1cov InitWtErgmTerm.b1cov
Degree range for the first mode in a bipartite networkb1degrange-ergmTerm InitErgmTerm.b1degrange
Degree for the first mode in a bipartite networkb1degree-ergmTerm InitErgmTerm.b1degree
Preserve the actor degree for bipartite networksb1degrees-ergmConstraint InitErgmConstraint.b1degrees
Dyadwise shared partners for dyads in the first bipartitionb1dsp-ergmTerm InitErgmTerm.b1dsp
Factor attribute effect for the first mode in a bipartite networkb1factor-ergmTerm InitErgmTerm.b1factor InitWtErgmTerm.b1factor
Minimum degree for the first mode in a bipartite networkb1mindegree-ergmTerm InitErgmTerm.b1mindegree
Nodal attribute-based homophily effect for the first mode in a bipartite networkb1nodematch-ergmTerm InitErgmTerm.b1nodematch
Degreeb1sociality-ergmTerm InitErgmTerm.b1sociality InitWtErgmTerm.b1sociality
k-stars for the first mode in a bipartite networkb1star-ergmTerm InitErgmTerm.b1star
Mixing matrix for k-stars centered on the first mode of a bipartite networkb1starmix-ergmTerm InitErgmTerm.b1starmix
Two-star census for central nodes centered on the first mode of a bipartite networkb1twostar-ergmTerm InitErgmTerm.b1twostar
Concurrent node count for the second mode in a bipartite networkb2concurrent-ergmTerm InitErgmTerm.b2concurrent
Main effect of a covariate for the second mode in a bipartite networkb2cov-ergmTerm InitErgmTerm.b2cov InitWtErgmTerm.b2cov
Degree range for the second mode in a bipartite networkb2degrange-ergmTerm InitErgmTerm.b2degrange
Degree for the second mode in a bipartite networkb2degree-ergmTerm InitErgmTerm.b2degree
Preserve the receiver degree for bipartite networksb2degrees-ergmConstraint InitErgmConstraint.b2degrees
Dyadwise shared partners for dyads in the second bipartitionb2dsp-ergmTerm InitErgmTerm.b2dsp
Factor attribute effect for the second mode in a bipartite networkb2factor-ergmTerm InitErgmTerm.b2factor InitWtErgmTerm.b2factor
Minimum degree for the second mode in a bipartite networkb2mindegree-ergmTerm InitErgmTerm.b2mindegree
Nodal attribute-based homophily effect for the second mode in a bipartite networkb2nodematch-ergmTerm InitErgmTerm.b2nodematch
Degreeb2sociality-ergmTerm InitErgmTerm.b2sociality InitWtErgmTerm.b2sociality
k-stars for the second mode in a bipartite networkb2star-ergmTerm InitErgmTerm.b2star
Mixing matrix for k-stars centered on the second mode of a bipartite networkb2starmix-ergmTerm InitErgmTerm.b2starmix
Two-star census for central nodes centered on the second mode of a bipartite networkb2twostar-ergmTerm InitErgmTerm.b2twostar
Balanced triadsbalance-ergmTerm InitErgmTerm.balance
Constrain maximum and minimum vertex degreebd-ergmConstraint InitErgmConstraint.bd
Bernoulli referenceBernoulli-ergmReference InitErgmReference.Bernoulli
Block-diagonal structure constraintblockdiag-ergmConstraint InitErgmConstraint.blockdiag
Constrain blocks of dyads defined by mixing type on a vertex attribute.blocks-ergmConstraint InitErgmConstraint.blocks
Ensures an Ergm Term and its Arguments Meet Appropriate Conditionscheck.ErgmTerm
Target statistics and model fit to a hypothetical 50,000-node network population with 50,000 nodes based on egocentcohab cohab_MixMat cohab_PopWts cohab_TargetStats
Coincident node count for the second mode in a bipartite (aka two-mode) networkcoincidence-ergmTerm InitErgmTerm.coincidence
Concurrent node countconcurrent-ergmTerm InitErgmTerm.concurrent
Concurrent tie countconcurrentties-ergmTerm InitErgmTerm.concurrentties
Auxiliary function for fine-tuning ERGM fitting.control.ergm
Auxiliaries for Controlling 'ergm.bridge.llr()' and 'logLik.ergm()'control.ergm.bridge control.logLik.ergm
Auxiliary for Controlling ERGM Goodness-of-Fit Evaluationcontrol.gof control.gof.ergm control.gof.formula
Auxiliary for Controlling SANcontrol.san
Auxiliary for Controlling ERGM Simulationcontrol.simulate control.simulate.ergm control.simulate.formula control.simulate.formula.ergm
Cyclic triplesctriad-ergmTerm ctriple-ergmTerm InitErgmTerm.ctriad InitErgmTerm.ctriple
Impose a curved structure on term parametersCurve-ergmTerm InitErgmTerm.Curve InitErgmTerm.Parametrise InitErgmTerm.Parametrize InitWtErgmTerm.Curve InitWtErgmTerm.Parametrise InitWtErgmTerm.Parametrize Parametrise-ergmTerm Parametrize-ergmTerm
k-Cycle Censuscycle-ergmTerm InitErgmTerm.cycle
Cyclical tiescyclicalties-ergmTerm InitErgmTerm.cyclicalties InitWtErgmTerm.cyclicalties
Cyclical weightscyclicalweights-ergmTerm InitWtErgmTerm.cyclicalweights
Degree Correlationdegcor-ergmTerm InitErgmTerm.degcor
Degree Cross-Productdegcrossprod-ergmTerm InitErgmTerm.degcrossprod
Degree rangedegrange-ergmTerm InitErgmTerm.degrange
Degreedegree-ergmTerm InitErgmTerm.degree
Degree to the 3/2 powerdegree1.5-ergmTerm InitErgmTerm.degree1.5
Computes and Returns the Degree Distribution Information for a Given Networkdegreedist degreedist.network
Preserve the degree distribution of the given networkdegreedist-ergmConstraint InitErgmConstraint.degreedist
Preserve the degree of each vertex of the given networkdegrees-ergmConstraint InitErgmConstraint.degrees InitErgmConstraint.nodedegrees nodedegrees-ergmConstraint
Densitydensity-ergmTerm InitErgmTerm.density
Differencediff-ergmTerm InitErgmTerm.diff InitWtErgmTerm.diff
Discrete Uniform referenceDiscUnif-ergmReference InitErgmReference.DiscUnif
Directed dyadwise shared partnersddsp-ergmTerm dsp-ergmTerm InitErgmTerm.ddsp InitErgmTerm.dsp
Dyadic covariatedyadcov-ergmTerm InitErgmTerm.dyadcov
A soft constraint to adjust the sampled distribution for dyad-level noise with known perturbation probabilitiesdyadnoise-ergmConstraint InitErgmConstraint.dyadnoise
Constrain fixed or varying dyad-independent termsDyads-ergmConstraint InitErgmConstraint.Dyads
Two versions of an E. Coli network datasetecoli ecoli1 ecoli2
Edge covariateedgecov-ergmTerm InitErgmTerm.edgecov InitWtErgmTerm.edgecov
Preserve the edge count of the given networkedges-ergmConstraint InitErgmConstraint.edges
Number of edges in the networkedges-ergmTerm InitErgmTerm.edges InitWtErgmTerm.edges InitWtErgmTerm.nonzero nonzero-ergmTerm
Preserve values of dyads incident on vertices with given attributeegocentric-ergmConstraint InitErgmConstraint.egocentric
Convert a curved ERGM into a form suitable as initial values for the same ergm. Deprecated in 4.0.0.enformulate.curved enformulate.curved-deprecated enformulate.curved.ergm enformulate.curved.formula
Number of dyads with values equal to a specific value (within tolerance)equalto-ergmTerm InitWtErgmTerm.equalto
Exponential-Family Random Graph ModelsanyNA.ergm ergm ergm.object is.ergm is.na.ergm nobs.ergm print.ergm vcov.ergm
Internal Function to Sample Networks and Network Statisticsergm_MCMC_sample ergm_MCMC_slave
Plot MCMC list using 'lattice' package graphicsergm_plot.mcmc.list
A rudimentary cache for large objectsergm_state_cache
Return a symmetrized version of a binary networkergm_symmetrize ergm_symmetrize.default ergm_symmetrize.network
Global options and term options for the 'ergm' packageergm-options ergmTerm-options term.options
Parallel Processing in the 'ergm' Packageergm-parallel ergm.getCluster ergm.parallel ergm.restartCluster ergm.stopCluster get.MT_terms nthreads nthreads.cluster nthreads.control.list nthreads.NULL parallel parallel-ergm parallel.ergm set.MT_terms
Calculate all possible vectors of statistics on a network for an ERGMergm.allstats ergm.exact
Bridge sampling to evaluate ERGM log-likelihoods and log-likelihood ratiosergm.bridge.0.llk ergm.bridge.dindstart.llk ergm.bridge.llr
Obtain the set of informative dyads based on the network structure.ergm.design
Acquire and verify the network from the LHS of an 'ergm' formula and verify that it is a valid network.ergm.getnetwork
A function to apply a given series of changes to a network.ergm.godfather ergm.godfather.ergm_model ergm.godfather.ergm_state ergm.godfather.formula
Sample Space Constraints for Exponential-Family Random Graph Modelsconstraints-ergm constraints.ergm ergm-constraints ergm.constraints ergmConstraint
MCMC Hints for Exponential-Family Random Graph Modelsergm-hints ergm.hints ergmHint hints hints-ergm hints.ergm
Keywords defined for Exponential-Family Random Graph Modelsergm-keywords ergm.keywords ergmKeyword keywords-ergm keywords.ergm
ERGM Predictors and response for logistic regression calculation of MPLEergmMPLE
Metropolis-Hastings Proposal Methods for ERGM MCMCergm-proposals ergm.proposals ergmProposal InitErgmProposal InitWtErgmProposal proposals-ergm proposals.ergm
Reference Measures for Exponential-Family Random Graph Modelsergm-references ergm.references ergmReference references-ergm references.ergm
Terms used in Exponential Family Random Graph Modelsergm-terms ergm.terms ergmTerm InitErgmTerm InitErgmWtTerm terms-ergm terms.ergm
Directed edgewise shared partnersdesp-ergmTerm esp-ergmTerm InitErgmTerm.desp InitErgmTerm.esp
Exponentiate a network's statisticExp-ergmTerm InitErgmTerm.Exp InitWtErgmTerm.Exp
Filtering on arbitrary one-term modelF-ergmTerm InitErgmTerm.F
Faux desert High School as a network objectfaux.desert.high
Faux dixon High School as a network objectfaux.dixon.high
Goodreau's Faux Magnolia High School as a network objectfaux.magnolia.high
Goodreau's Faux Mesa High School as a network objectfaux.mesa.high fauxhigh
Convert a curved ERGM into a corresponding "fixed" ERGM.fix.curved fix.curved.ergm fix.curved.formula
Preserve the dyad status in all but the given edgesfixallbut-ergmConstraint InitErgmConstraint.fixallbut
Fix specific dyadsfixedas-ergmConstraint InitErgmConstraint.fixedas
Florentine Family Marriage and Business Ties Data as a "network" objectflobusiness flomarriage florentine
A 'for' operator for termsFor-ergmTerm InitErgmTerm.For
Goodreau's four node network as a "network" objectg4
Multivariate version of 'coda''s 'coda::geweke.diag()'.geweke.diag.mv
Conduct Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Modelgof gof.default gof.ergm gof.formula plot.gof print.gof
Number of dyads with values strictly greater than a thresholdgreaterthan-ergmTerm InitWtErgmTerm.greaterthan
Geometrically weighted degree distribution for the first mode in a bipartite networkgwb1degree-ergmTerm InitErgmTerm.gwb1degree
Geometrically weighted dyadwise shared partner distribution for dyads in the first bipartitiongwb1dsp-ergmTerm InitErgmTerm.gwb1dsp
Geometrically weighted degree distribution for the second mode in a bipartite networkgwb2degree-ergmTerm InitErgmTerm.gwb2degree
Geometrically weighted dyadwise shared partner distribution for dyads in the second bipartitiongwb2dsp-ergmTerm InitErgmTerm.gwb2dsp
Geometrically weighted degree distributiongwdegree-ergmTerm InitErgmTerm.gwdegree
Geometrically weighted dyadwise shared partner distributiondgwdsp-ergmTerm gwdsp-ergmTerm InitErgmTerm.dgwdsp InitErgmTerm.gwdsp
Geometrically weighted edgewise shared partner distributiondgwesp-ergmTerm gwesp-ergmTerm InitErgmTerm.dgwesp InitErgmTerm.gwesp
Geometrically weighted in-degree distributiongwidegree-ergmTerm InitErgmTerm.gwidegree
Geometrically weighted non-edgewise shared partner distributiondgwnsp-ergmTerm gwnsp-ergmTerm InitErgmTerm.dgwnsp InitErgmTerm.gwnsp
Geometrically weighted out-degree distributiongwodegree-ergmTerm InitErgmTerm.gwodegree
Preserve the hamming distance to the given network (BROKEN: Do NOT Use)hamming-ergmConstraint InitErgmConstraint.hamming
Hamming distancehamming-ergmTerm InitErgmTerm.hamming
In-degree rangeidegrange-ergmTerm InitErgmTerm.idegrange
In-degreeidegree-ergmTerm InitErgmTerm.idegree
In-degree to the 3/2 poweridegree1.5-ergmTerm InitErgmTerm.idegree1.5
Preserve the indegree distributionidegreedist-ergmConstraint InitErgmConstraint.idegreedist
Preserve indegree for directed networksidegrees-ergmConstraint InitErgmConstraint.idegrees
Number of dyads whose values are in an intervalininterval-ergmTerm InitWtErgmTerm.ininterval
Intransitive triadsInitErgmTerm.intransitive intransitive-ergmTerm
Testing for curved exponential familyis.curved is.curved.ergm is.curved.formula is.curved.NULL
Testing for dyad-independenceis.dyad.independent is.dyad.independent.ergm is.dyad.independent.ergm_conlist is.dyad.independent.formula is.dyad.independent.NULL
Function to check whether an ERGM fit or some aspect of it is valuedis.valued is.valued.edgelist is.valued.ergm is.valued.ergm_state is.valued.network
Isolated edgesInitErgmTerm.isolatededges isolatededges-ergmTerm
IsolatesInitErgmTerm.isolates isolates-ergmTerm
In-starsInitErgmTerm.istar istar-ergmTerm
Kapferer's tailor shop datakapferer kapferer2 tailor
k-starsInitErgmTerm.kstar kstar-ergmTerm
Modify terms' coefficient namesInitErgmTerm.Label InitWtErgmTerm.Label Label-ergmTerm
Triangles within neighborhoodsInitErgmTerm.localtriangle localtriangle-ergmTerm
Take a natural logarithm of a network's statisticInitErgmTerm.Log InitWtErgmTerm.Log Log-ergmTerm
A 'logLik()' method for 'ergm' fits.AIC.ergm BIC.ergm deviance.ergm logLik.ergm
Calculate the null model likelihoodlogLikNull logLikNull.ergm
Mixed 2-stars, a.k.a 2-pathsInitErgmTerm.m2star m2star-ergmTerm
Conduct MCMC diagnostics on a model fitmcmc.diagnostics mcmc.diagnostics.default mcmc.diagnostics.ergm
Mean vertex degreeInitErgmTerm.meandeg meandeg-ergmTerm
Mixing matrix cells and marginsInitErgmTerm.mm InitWtErgmTerm.mm mm-ergmTerm
Synthetic network with 20 nodes and 28 edgesmolecule
MutualityInitErgmTerm.mutual InitWtErgmTerm.mutual mutual-ergmTerm
Near simmelian triadsInitErgmTerm.nearsimmelian nearsimmelian-ergmTerm
A convenience container for a list of 'network' objects, output by 'simulate.ergm()' among others.network.list print.network.list summary.network.list
Specifying nodal attributes and their levelsattr attrname attrs by COLLAPSE_SMALLEST LARGEST nodal.attr nodal.attribute nodal_attributes node.attr node.attribute on SMALLEST vertex.attr vertex.attribute
Main effect of a covariateInitErgmTerm.nodecov InitErgmTerm.nodemain InitWtErgmTerm.nodecov InitWtErgmTerm.nodemain nodecov-ergmTerm nodemain-ergmTerm
Covariance of undirected dyad values incident on each actorInitWtErgmTerm.nodecovar nodecovar-ergmTerm nodesqrtcovar-ergmTerm
Factor attribute effectInitErgmTerm.nodefactor InitWtErgmTerm.nodefactor nodefactor-ergmTerm
Main effect of a covariate for in-edgesInitErgmTerm.nodeicov InitWtErgmTerm.nodeicov nodeicov-ergmTerm
Covariance of in-dyad values incident on each actorInitWtErgmTerm.nodeicovar nodeicovar-ergmTerm nodeisqrtcovar-ergmTerm
Factor attribute effect for in-edgesInitErgmTerm.nodeifactor InitWtErgmTerm.nodeifactor nodeifactor-ergmTerm
Uniform homophily and differential homophilyInitErgmTerm.nodematch InitWtErgmTerm.match InitWtErgmTerm.nodematch match-ergmTerm nodematch-ergmTerm
Filtering on nodematchInitErgmTerm.NodematchFilter NodematchFilter-ergmTerm
Nodal attribute mixingInitErgmTerm.nodemix InitWtErgmTerm.nodemix nodemix-ergmTerm
Main effect of a covariate for out-edgesInitErgmTerm.nodeocov InitWtErgmTerm.nodeocov nodeocov-ergmTerm
Covariance of out-dyad values incident on each actorInitWtErgmTerm.nodeocovar nodeocovar-ergmTerm
Factor attribute effect for out-edgesInitErgmTerm.nodeofactor InitWtErgmTerm.nodeofactor nodeofactor-ergmTerm
Length of the parameter vector associated with an object or with its terms.nparam nparam.default nparam.ergm
Directed non-edgewise shared partnersdnsp-ergmTerm InitErgmTerm.dnsp InitErgmTerm.nsp nsp-ergmTerm
Preserve the observed dyads of the given networkInitErgmConstraint.observed observed-ergmConstraint
Out-degree rangeInitErgmTerm.odegrange odegrange-ergmTerm
Out-degreeInitErgmTerm.odegree odegree-ergmTerm
Out-degree to the 3/2 powerInitErgmTerm.odegree1.5 odegree1.5-ergmTerm
Preserve the outdegree distributionInitErgmConstraint.odegreedist odegreedist-ergmConstraint
Preserve outdegree for directed networksInitErgmConstraint.odegrees odegrees-ergmConstraint
Terms with fixed coefficientsInitErgmTerm.Offset Offset-ergmTerm
Open triadsInitErgmTerm.opentriad opentriad-ergmTerm
k-OutstarsInitErgmTerm.ostar ostar-ergmTerm
Names of the parameters associated with an object.param_names param_names.default param_names<-
ERGM-based tie probabilitiespredict.ergm predict.formula
A product (or an arbitrary power combination) of one or more formulasInitErgmTerm.Prod InitWtErgmTerm.Prod Prod-ergmTerm
A lack-of-fit test for ERGMsrank_test.ergm
Receiver effectInitErgmTerm.receiver InitWtErgmTerm.receiver receiver-ergmTerm
Evaluation on an induced subgraphInitErgmTerm.S S-ergmTerm
Longitudinal networks of positive affection within a monastery as a "network" objectsamplk samplk1 samplk2 samplk3
Cumulative network of positive affection within a monastery as a "network" objectsamplike sampson
Generate networks with a given set of network statisticssan san.default san.ergm_model san.formula
Search ERGM terms, constraints, references, hints, and proposalssearch.ergmConstraints search.ergmHints search.ergmProposals search.ergmReferences search.ergmTerms
Sender effectInitErgmTerm.sender InitWtErgmTerm.sender sender-ergmTerm
Simmelian triadsInitErgmTerm.simmelian simmelian-ergmTerm
Ties in simmelian triadsInitErgmTerm.simmelianties simmelianties-ergmTerm
Draw from the distribution of an Exponential Family Random Graph Model.simulate_formula.network simulate.ergm simulate.ergm_model simulate.ergm_state simulate.ergm_state_full simulate.formula.ergm simulate.formula_lhs_network simulate_formula simulate_formula.ergm_state simulate_formula.network
A 'simulate' Method for 'formula' objects that dispatches based on the Left-Hand Sidesimulate.formula simulate.formula_lhs
Number of ties between actors with similar attribute valuesInitErgmTerm.smalldiff smalldiff-ergmTerm
Number of dyads with values strictly smaller than a thresholdInitWtErgmTerm.smallerthan smallerthan-ergmTerm
Statnet Controlsnctrl
Undirected degreeInitErgmTerm.sociality InitWtErgmTerm.sociality sociality-ergmTerm
Sparse networkInitErgmConstraint.sparse sparse-ergmConstraint sparse-ergmHint
Multivariate version of 'coda''s 'spectrum0.ar()'.spectrum0.mvar
Standard Normal referenceInitErgmReference.StdNormal StdNormal-ergmReference
Stratify Proposed Toggles by Mixing Type on a Vertex AttributeInitErgmConstraint.strat strat-ergmConstraint strat-ergmHint
Sum of dyad values (optionally taken to a power)InitWtErgmTerm.sum sum-ergmTerm
A sum (or an arbitrary linear combination) of one or more formulasInitErgmTerm.Sum InitWtErgmTerm.Sum Sum-ergmTerm
Summarizing ERGM Model Fitsprint.summary.ergm summary.ergm
Calculation of network or graph statistics or other attributes specified on a formulasummary summary.formula
Evaluation on symmetrized (undirected) networkInitErgmTerm.Symmetrize Symmetrize-ergmTerm
Three-trailsInitErgmTerm.threepath InitErgmTerm.threetrail threepath-ergmTerm threetrail-ergmTerm
Transitive triadsInitErgmTerm.transitive transitive-ergmTerm
Transitive tiesInitErgmTerm.transitiveties transitiveties-ergmTerm
Transitive weightsInitWtErgmTerm.transitiveweights transitiveweights-ergmTerm
Triad censusInitErgmTerm.triadcensus triadcensus-ergmTerm
Network with strong clustering (triad-closure) effects.triadic-ergmHint InitErgmConstraint..triadic InitErgmConstraint.triadic triadic-ergmConstraint triadic-ergmHint
TrianglesInitErgmTerm.triangle triangle-ergmTerm triangles-ergmTerm
Triangle percentageInitErgmTerm.tripercent tripercent-ergmTerm
Transitive triplesInitErgmTerm.ttriad InitErgmTerm.ttriple ttriad-ergmTerm ttriple-ergmTerm
2-PathsInitErgmTerm.twopath twopath-ergmTerm
Continuous Uniform referenceInitErgmReference.Unif Unif-ergmReference
Update the edges in a network based on a matrixupdate.network update_network update_network.data.frame update_network.ergm_state update_network.matrix update_network.matrix_edgelist
Weighted Medianwtd.median