View source: R/data-scenarios.R
generate_obs_scenario | R Documentation |
Define observed data for a scenario
generate_obs_scenario(obs, seq_lag, seq_samples)
obs |
A dataframe of observations as returned by |
seq_lag |
Number, number of weeks to lag sequence data behind date of observation. |
seq_samples |
Fraction of sequence samples to include. |
A data.frame
of scenario definitions with ids
Functions to define and create data scenarios
define_scenarios()
,
update_obs_availability()
generate_obs_scenario(latest_obs(germany_covid19_delta_obs), 4, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.