powered by
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.
netinf
is.diffnet(object)
TRUE if object is a diffnet, FALSE otherwise.
TRUE
FALSE
the object to be tested.
data(cascades) result <- netinf(cascades, n_edges = 6, params = 1) is.diffnet(result)
Run the code above in your browser using DataLab