coNetwork: Random perturbations of a reference network
Simulates a network from another network object by randomly perturbing
a given number of edges.
an object of class
simone.network (typically generated by the
an integer giving the number of edges to randomly remove AND add to
graph in order to obtain a randomly perturbed network.
a character string indicating the name of the perturbed network.
Returns an object of class
## ancestor and child network generation
ancestor <- rNetwork(p = 20, pi = 20, name = "ancestor")
child <- coNetwork(ancestor, delta = 1, name = "child")
# network comparison