Description Usage Arguments Value Examples
This takes the proposed sites and the existing sites, with additional information from the model, and then returns a dataframe of all of the existing facilities that were relocated, and provides the distance to the nearest facility, which is presumably the location to which it was relocated to.
1 | augment_facility_relocated(proposed_facility, existing_facility)
|
proposed_facility |
facilities proposed for the model - but this data
has extra information ( |
existing_facility |
facilities existing for the model - but this data
has extra information ( |
dataframe
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
mc_cv_n100_test %>%
mutate(facility_distances = map2(
.x = proposed_facility,
.y = existing_facility,
.f = augment_facility_relocated)) %>%
select(facility_distances) %>%
.[[1]]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.