nd_test_nets | R Documentation |
A list of networkDynamic
objects to be used for testing package functions. Each network exemplifies a possible extreme case for the data structure representation.
data(nd_test_nets)
A list of networkDynamic
objects. Each element is named with a short description
This list of networks is intended for testing purposes. Each element is a network with a different unusual configuration of the networkDynamic
data structure. The idea is that the items on the list can be used when testing functions that use networkDynamic
objects to make sure that they can properly handle (or explicitly reject) a wide range of network configurations and parameter settings. A short description of each test case can be printed with names(nd_test_nets)
. Note that these test cases are intended for checking that functions process the data structures without error, but in most cases the networks are too trivial to be useful in testing algorithm results.
data(nd_test_nets)
# print the list of test cases
names(nd_test_nets)
# check that network.size.active works
# (or at least doesn't fail)
# for many types of networks
lapply(nd_test_nets,network.size.active,at=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.