is.dynamic {dynamicnetwork}R Documentation

check if a network object is a dynamic network

Description

check if an object has the appropriate class to be considered a dynamicnetwork

Usage

is.dynamic(x)

Arguments

x an object (presumably a network)

Details

only checks class attribute, does not verify data structure

Value

returns TRUE if object inherits the class dynamic.

Author(s)

skyebend@skyeome.net

Examples


is.dynamic(list()); #FALSE
is.dynamic(network.initialize(5)); #FALSE
is.dynamic(as.dynamic(network.initialize(5))); #TRUE


[Package dynamicnetwork version 0.0-4 Index]