extract.ergmito: Extract function to be used with the 'texreg' package.

View source: R/texreg.R

extract.ergmitoR Documentation

Extract function to be used with the texreg package.

Description

To be used with the texreg package. This function can be used to generate nice looking tables of ERGMitos estimates.

Usage

extract.ergmito(
  model,
  include.aic = TRUE,
  include.bic = TRUE,
  include.loglik = TRUE,
  include.nnets = TRUE,
  include.offset = TRUE,
  include.convergence = TRUE,
  include.timing = TRUE,
  ...
)

Arguments

model

An object of class ergmito.

include.aic, include.bic, include.loglik

See texreg::extract.

include.nnets

Logical. When true, it adds the Number of networks used to the list of gof statistics. This can be useful when running pooled models.

include.offset

Logical. When equal to TRUE, it adds one line per offset term to the table, omiting sd and significance.

include.convergence

Logical. When true it, adds the convergence value of the stats::optim function (0 means convergence).

include.timing

Logical, When true it will report the elapsed time in seconds.

...

Further arguments passed to the base::summary() of ergmito.

Examples


library(texreg)
data(fivenets)
ans <- ergmito(fivenets ~ edges + nodematch("female"))
screenreg(ans)


ergmito documentation built on July 9, 2023, 7:09 p.m.