n_relocated: Extract the number of facilities relocated.

Description Usage Arguments Value Examples

View source: R/augmenters.R

Description

Extract the number of facilities relocated.

Usage

1
n_relocated(existing_facility)

Arguments

existing_facility

the facilities originally existing, as output from the model (e.g., model$existing_facility[[1]])

Value

dataframe containing one column of the number of things relocated

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

mc_cv_n100_test %>%
  mutate(n_relocated = map(
    .x = existing_facility,
    .f = n_relocated)) %>%
  select(n_relocated) %>%
  .[[1]]


## End(Not run)

njtierney/maxcovr documentation built on Nov. 13, 2019, 6:38 p.m.