localize_scenario: Specialize a scenario to a locality

Description Usage Arguments Value

View source: R/scenarios.R

Description

Find the entries in a scenario structure that are germane to a particular locality. This saves having to filter by locality every time you go to look up an adjustment value.

Usage

1
localize_scenario(scen, locality)

Arguments

scen

A Scenario object.

locality

Name of the locality to specialize to.

Value

A LocalScen structure. This object is no longer a scenario object because it can no longer be used with an arbitrary locality.


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.