print.nethist: Print nethist objects

View source: R/print.R

print.nethistR Documentation

Print nethist objects

Description

Compact one-screen description of nethist, multinethist, and hnethist objects. The estimated probabilities are reported by their dimensions only; use summary.network_histogram for the model fit statistics and object$thetahat for the values themselves.

Usage

## S3 method for class 'nethist'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'multinethist'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'hnethist'
print(x, digits = getOption("digits"), ...)

Arguments

x

a nethist, multinethist, or hnethist object.

digits

number of significant digits used when printing the loss.

...

additional arguments. Currently unused.

Value

The input object, invisibly.

See Also

summary.network_histogram

Examples


set.seed(42)
data(polblog)
fit <- suppressMessages(nethist(polblog))
print(fit)
summary(fit)


nethist documentation built on Oct. 25, 2026, 5:07 p.m.