Description Usage Arguments Examples
For a given introduction node (only one at this point), yields two outputs for one realization. outmat has rows=time steps, columns = nodes, and entries = invasion status for each node at each time step (1 = invaded, 0 = not invaded). sampnodes has rows = nodes, first column = time step at which invasion is detected at a node (Inf if node is never reached), second column = the number of nodes invaded at the time of detection (the total number that are ever invaded if the node is never reached), third column = the number of nodes not invaded at the time of detection.
1 | onestart(adjmat, start.choice, stoch)
|
adjmat |
adjacency matrix to be evaluated; if stoch=T, the entries are the probabilities that a link exists in any given realization |
start.choice |
number (ID) of node where invasion starts |
stoch |
logical var indicating whether adjacency matrix entries are fixed or probabilities (default is T) |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.