Learn R Programming

ergm (version 3.5.1)

coef.length.model: Extract Number of parameters in ergm Model

Description

coef.sublength and coef.length are methods that extract the numbers of parameters for ergm model objects.

Usage

## S3 method for class 'model':
coef.length(object, ...)

## S3 method for class 'model': coef.sublength(object, ...)

Arguments

object
an ergm model object
...
other arguments.

Value

  • coef.sublength.model returns a vector containing the number of model parameters corresponding to each model term. coef.length.model returns the sum of the values returned by coef.sublength.model.