as_netdifference: Coerce an inferential comparison to a network difference

View source: R/subtract_networks.R

as_netdifferenceR Documentation

Coerce an inferential comparison to a network difference

Description

Coerce an inferential comparison to a network difference

Usage

as_netdifference(x, ...)

## S3 method for class 'net_bayes'
as_netdifference(x, significant_only = TRUE, ...)

## S3 method for class 'netdifference'
as_netdifference(x, ...)

## Default S3 method:
as_netdifference(x, ...)

Arguments

x

An object with network-difference fields.

...

Additional arguments passed to methods.

significant_only

Logical. For inferential objects, keep only supported differences in the plotted weight matrix while retaining the full difference and interval matrices. Default TRUE.

Value

A netdifference object suitable for cograph::splot().


Nestimate documentation built on July 11, 2026, 1:09 a.m.