Description Usage Arguments Details Value Note Author(s) See Also Examples
computes sizes of temporally reachable sets in a dynamicNetwork, using either a full census or sample of starting vertices of the specified size
1 2 |
nd |
a networkDynamic object |
direction |
currently only |
sample |
numeric, indicates the size of the sample of vertices to use to calculate the reachable sets |
start |
optional numeric start time to begin path search |
end |
optional numeric time to end path search |
graph.step.time |
How much time should be added for each edge traversal (graph hop)? See |
tReach
calls link{tPath}
on with each starting vertex to determine the sizes of the sets of vertices that are reachable. If sample
is set to something less than the size of the network, it will sample that many vertices instead of doing the (expensive) full census. Note that when the vertices are chosen as a sample, results may vary between calls to this function
a vector of length equal to sample
giving the sizes of the set of vertices reachable from each seed vertex within the specified time bounds
Needs implementation of backwards sets
skyebend
See also as tPath
1 2 3 4 5 6 7 8 9 10 11 | data(moodyContactSim)
tReach(moodyContactSim)
# only sample 3 paths
tReach(moodyContactSim,sample=3)
# what fraction of the network could each vertex reach?
tReach(moodyContactSim)/network.size(moodyContactSim)
# what fraction of the network could each vertex be reached by?
tReach(moodyContactSim,direction='bkwd')/network.size(moodyContactSim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.