| summary.network_histogram | R Documentation |
Detailed summary of a fitted network histogram. The print methods of
the fitted objects give a short identification only; the model fit
statistics are reported here.
## S3 method for class 'network_histogram'
summary(object, ...)
## S3 method for class 'multinethist'
summary(object, ...)
## S3 method for class 'hnethist'
summary(object, ...)
## S3 method for class 'summary.network_histogram'
print(x, digits = getOption("digits"), ...)
object |
a |
... |
additional arguments. Currently unused. |
x |
a |
digits |
number of significant digits used when printing numeric quantities. |
The summary method is defined on the common base class, so it
applies to nethist, multinethist, and hnethist objects
alike. The subclass methods add the fields specific to them and are
otherwise deferred to the base method via NextMethod(); see
network_histogram-class.
The estimated probabilities themselves are not printed, since the matrix
grows with the number of blocks. Use object$thetahat or
fitted() to obtain them.
summary() returns an object inheriting from
summary.network_histogram: a list holding the fitted object together
with the number of nodes, the number of blocks, the log-likelihood, the
degrees of freedom, AIC, and BIC. Multilayer fits add
n_layers, and hnethist fits add the selected number of shapes
s and the number of candidate models n_candidate. The
print method returns its input invisibly.
network_histogram-class, print.nethist,
logLik.network_histogram
set.seed(42)
data(polblog)
fit <- suppressMessages(nethist(polblog))
fit
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.