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

Description Usage Arguments Value

View source: R/ergm_model.R

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

1
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 July 27, 2021, 5:07 p.m.