createTbergm: Constructor for tbergm objects

View source: R/tbergm.R

createTbergmR Documentation

Constructor for tbergm objects

Description

Constructor for tbergm objects.

Usage

createTbergm(
  time.steps,
  formula,
  formula2,
  auto.adjust,
  offset,
  directed,
  bipartite,
  estimate,
  bergm,
  nvertices,
  data
)

Arguments

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: "bergm" for Bayesian estimation.

bergm

The original bergm object as estimated by the bergm function in the Bergm package.

nvertices

Number of vertices.

data

The data after processing by the tergmprepare function.

Details

Create an S4 tbergm object using this constructor function.

Author(s)

Philip Leifeld

See Also

Other tergm-classes: btergm-class, createBtergm(), createMtergm(), mtergm-class, tbergm-class


btergm documentation built on May 29, 2024, 12:09 p.m.