View source: R/places and rays fcns.R
Count.rays | R Documentation |
given the geoid of a place and sf objects containing hwy information and place information, this calls each step to count the rays. Returns the number of rays for the place and a map of them. Arguments are passed to wrapped fcns. Additional arguments can also be passed to mapview::mapview to change appearance of output map.
Count.rays(
place.geoid,
hwy.sf,
place.sf = divM::largest.plc.in.cz,
remove.holes = FALSE,
...
)
place.geoid |
7-character identifier for place to generate rays for. |
hwy.sf |
Sf object that represents highways with NHPN |
place.sf |
Sf object with |
remove.holes |
Remove holes from places before counting rays. If a hwy starts/ends in a hole, it will be counted as a ray unless this is set to TRUE |
... |
Arguments passed on to
|
verbose |
Display additional text output in console. Makes explicit some parameters that are passed to wrapped fcns and will say where ineligible rays are removed due to issue described above. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.