Learn R Programming

ergm (version 4.7.1)

call.ErgmTerm: 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())

Value

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

Arguments

term

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

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.