Description Usage Arguments Value
View source: R/check_conditions_funcs.R
check_agent
make sure that the rf and irf tibbles contain data for a single RF agent, if match_agents
is true then make sure that both the RF agent in both rf and irf tibbles are the same.
1 | check_agent(irf, rf, match_agents = FALSE)
|
irf |
the impulse response function tibble, must contain a year and value column |
rf |
the radiative forcing time series tibble, must contain a year and value column |
match_agents |
a logical value indicating whether to throw an error if the rf agent does not match the irf agent, default value is set to FALSE |
an error message if multiple agent conditions are not met in the rf and irf tibbles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.