call.ErgmTerm {ergm}R 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.


[Package ergm version 4.2.2 Index]