n_installed: Extract the number of facilities installed

Description Usage Arguments Value Examples

View source: R/augmenters.R

Description

Using the model-modified dataframe of proposed_facility, count the number of events installed.

Usage

1
n_installed(proposed_facility)

Arguments

proposed_facility

dataframe from the mc_model, of facilities proposed with the additional information about whether the facility was installed or not - is_installed

Value

datafrmae

Examples

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

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


## End(Not run)

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