Description Usage Arguments Value Examples
Group together sites to choose the best sites as CVDS
1 2 | groupsites(dfv, distance = 16, wim.priority.sites = NULL,
vds.priority.sites = NULL)
|
dfv |
the VDS sites, as a dataframe. Ideally these should have just one freeway and direction. Use plyr to get this to happen |
distance |
the max distance from the candidate CVDS site |
wim.priority.sites,vds.priority.sites |
SpatialPointsDataFrame objects containing the WIM sites, and/or the preferred VDS sites to use. The VDS sites do not have to overlap with the sites in dfv. Neither set is required. Also, both will be trimmed to make sure that the same freeway and direction are used as for the vds sites themselves |
a dataframe, mostly the same as the input dfv, but with a new column called "group" added that contains the wim or vds site that is used to group each of the sites.
1 | newdf <- groupsites(vdf,distance=10,wim.priority.sites=all.the.wims)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.