Learn R Programming

xergm (version 1.5.3)

getformula: Extract the formula from a model.

Description

Extract the model formula from ergm or btergm objects.

Usage

getformula(x)

## S3 method for class 'ergm': getformula(x)

## S3 method for class 'btergm': getformula(x)

Arguments

x
A model object, for example a btergm or an ergm object.

Details

Extract the model formula from ergm or btergm objects.

See Also

gof