View source: R/graph-and-ergm-fcns.R
Spatializes a graph based on the node name
s. Names should align with geoids for
either block groups or tracts (default).
1 2 3 4 5 6 7 8 | spatialize.graph(
gh,
frame.sf = NULL,
tracts.or.groups = c("ct", "bg"),
directed = F,
year = 2019,
...
)
|
gh |
a graph, as setup by |
frame.sf |
an |
tracts.or.groups |
Aggregate to census tract (ct) or leave at block group (bg) |
directed |
whether to leave directed or make undirected (which aggregates trips to/from the same tracts, rather than duplicating the O-D pair for each direction.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.