Log-ergmTerm-f1bed869: 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.

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "Log", "subsection")}

ergm documentation built on Oct. 7, 2024, 5:08 p.m.