coef.sublength
and coef.length
are methods that extract
the numbers of parameters for ergm model objects.
# S3 method for model
coef.length(object, ...)# S3 method for model
coef.sublength(object, ...)
an ergm model object
other arguments.
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
.