is.dynamic {dynamicnetwork} | R Documentation |
check if an object has the appropriate class to be considered a dynamicnetwork
is.dynamic(x)
x |
an object (presumably a network) |
only checks class attribute, does not verify data structure
returns TRUE if object inherits the class dynamic
.
skyebend@skyeome.net
is.dynamic(list()); #FALSE is.dynamic(network.initialize(5)); #FALSE is.dynamic(as.dynamic(network.initialize(5))); #TRUE