Description Usage Arguments Value
View source: R/graph-and-ergm-fcns.R
Given a tidy graph with tract centroid geometries, get each nodes' status as
within or outside the city center, defined as the largest Place by population
in the commuting zone. References a dataset bundled with divM
that already
pairs these population centers with commuting zones.
1 | is.in.city.center(sfx, cz = NULL, filter2cc = FALSE, ...)
|
sfx |
a tidy graph with node centroids in a geometry column |
cz |
a cz corresponding with the graph; if left |
filter2cc |
Whether or not to filter or just add column |
a tidy graph with new in.cc
column for nodes, based on whether or
not they are in a population center. If filter2cc is TRUE
, only keeps
nodes within population center
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.