net.qmodel {stream.net} | R Documentation |
Generate a stochastic network according to the Q model (see references).
net.qmodel (size=100, Q=0.5)
size |
magnitude of the network in number of terminal branches. |
Q |
probability of an internal branch rather than a
terminal branch (0 <= Q <= 1). |
Any value of Q
will generate all possible topologies
of the given size, however, the likelihood of any topology is
controlled by the value provided. If Q
= 0.01, then
networks with short lengths to terminal branches are more
likely (because branching from existing terminal branches
is much more probable than from existing internal
branches). If Q
= 0.99, then networks with a few long
sequences of branches are more likely.
A net.object
.
Denis White, white.denis@epa.gov
Costa-Cabral MC, Burges SJ. 1997. Sensitivity of channel network planform laws and the question of topologic randomness. Water Resources Research 33(9):2179-2197.
net <- net.qmodel (10, Q=0.99) net.map (net)