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

createMtergm

Constructor for mtergm objects


Description

Constructor for mtergm objects.

Usage

createMtergm(
  coef,
  se,
  pval,
  nobs,
  time.steps,
  formula,
  formula2,
  auto.adjust,
  offset,
  directed,
  bipartite,
  estimate,
  loglik,
  aic,
  bic,
  ergm,
  nvertices,
  data
)

Arguments

coef

Object of class "numeric". The coefficients.

se

Standard errors.

pval

The p-values.

nobs

Object of class "numeric". Number of observations.

time.steps

Object of class "numeric". Number of time steps.

formula

Object of class "formula". The original model formula (without indices for the time steps).

formula2

The revised formula with the object references after applying the tergmprepare function.

auto.adjust

Object of class "logical". Indicates whether automatic adjustment of dimensions was done before estimation.

offset

Object of class "logical". Indicates whether an offset matrix with structural zeros was used.

directed

Object of class "logical". Are the dependent networks directed?

bipartite

Object of class "logical". Are the dependent networks bipartite?

estimate

Estimate: either MCMC MLE or MPLE.

loglik

Log likelihood of the MLE.

aic

Akaike's Information Criterion.

bic

Bayesian Information Criterion.

ergm

The original ergm object as estimated by the ergm function in the ergm package.

nvertices

Number of vertices.

data

The data after processing by the tergmprepare function.

Details

Create an S4 mtergm object using this constructor function.

Author(s)

Philip Leifeld

See Also


btergm

Temporal Exponential Random Graph Models by Bootstrapped Pseudolikelihood

v1.10.3
GPL (>= 2)
Authors
Philip Leifeld [aut, cre], Skyler J. Cranmer [ctb], Bruce A. Desmarais [ctb]
Initial release
2021-06-24

We don't support your browser anymore

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