Log-ergmTerm: Take a natural logarithm of a network's statistic

Log-ergmTermR Documentation

Take a natural logarithm of a network's statistic

Description

Evaluate the terms specified in formula and takes a natural (base e ) logarithm of them. Since an ERGM statistic must be finite, log0 specifies the value to be substituted for log(0) . The default value seems reasonable for most purposes.

Usage

# binary: Log(formula, log0=-1/sqrt(.Machine$double.eps))

# valued: Log(formula, log0=-1/sqrt(.Machine$double.eps))

Arguments

formula

a one-sided ergm()-style formula with the terms to be evaluated

log0

the value to be substituted for log(0)

See Also

ergmTerm for index of model terms currently visible to the package.


ergm documentation built on June 2, 2022, 1:07 a.m.