is.diffnet {NetworkInference}R Documentation

Is the object of class diffnet?

Description

Tests if an object is of class diffnet. The class diffnet is appended to the object returned by netinf for dispatch of appropriate plotting methods.

Usage

is.diffnet(object)

Arguments

object

the object to be tested.

Value

TRUE if object is a diffnet, FALSE otherwise.

Examples


data(cascades)
result <- netinf(cascades, n_edges = 6, params = 1)
is.diffnet(result)

[Package NetworkInference version 1.2.4 Index]