call.ErgmTerm: Locate and call an ERGM term initialization function.

View source: R/ergm_model.R

call.ErgmTermR Documentation

Locate and call an ERGM term initialization function.

Description

A helper function that searches attached and loaded packages for a term with a specifies name, calls it with the specified arguments, and returns the result.

Usage

call.ErgmTerm(term, env, nw, ..., term.options = list())

Arguments

env

Environment in which it is to be evaluated.

nw

A network object.

...

Additional term options.

term.options

A list of optional settings such as calculation tuning options to be passed to the InitErgmTerm functions.

A

term from an ergm() formula: typically a name or a call.

Value

The list returned by the the InitErgmTerm or InitWtErgmTerm function, with package name autodetected if neede.


ergm documentation built on May 31, 2023, 8:04 p.m.