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

createBtergm

Constructor for btergm objects


Description

Constructor for btergm objects.

Usage

createBtergm(
  coef,
  boot,
  R,
  nobs,
  time.steps,
  formula,
  formula2,
  response,
  effects,
  weights,
  auto.adjust,
  offset,
  directed,
  bipartite,
  nvertices,
  data
)

Arguments

coef

Object of class "numeric". The coefficients.

boot

Object of class "matrix". The bootstrapping sample.

R

Object of class "numeric". Number of replications.

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.

response

Object of class "integer". The response variable.

effects

Object of class "data.frame". The effects that went into the glm call.

weights

Object of class "integer". The weights of the observations.

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?

nvertices

Number of vertices.

data

The data after processing by the tergmprepare function.

Details

Create an S4 btergm 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.