Extracts ERGM term names and attributes from a formula. No fitted model is required. Returns a standardized data frame with metadata from the ERGM term database where available.
Arguments
- formula
An ERGM
formula.
Value
A data frame with columns:
- term
Character. The canonical ERGM term name.
- attribute
Character or
NA. The attribute(s) used in the term, comma-separated when multiple.- estimate
Numeric. Always
NAfor formula-only parsing.- se
Numeric. Always
NAfor formula-only parsing.- pvalue
Numeric. Always
NAfor formula-only parsing.- description
Character or
NA. Term description from the ERGM term database.- math
Character or
NA. The mathematical definition (reserved for future use).- figure
Character or
NA. Path to an associated figure (reserved for future use).
See also
parse_ergm_model for parsing fitted models,
search.ergmTerms for the underlying term database.