n_relocated: Extract the number of facilities relocated.

View source: R/augmenters.R

n_relocatedR Documentation

Extract the number of facilities relocated.

Description

Extract the number of facilities relocated.

Usage

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


## 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. 27, 2024, 7:51 a.m.