Learn R Programming

NetworkInference (version 1.2.5)

is.diffnet: 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)

Value

TRUE if object is a diffnet, FALSE otherwise.

Arguments

object

the object to be tested.

Examples

Run this code

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

Run the code above in your browser using DataLab