harmonize | R Documentation |
Harmonization of model data to historical data, using harmonization methods of aneris, ported to R. See: https://github.com/iiasa/aneris/blob/ad6301eb42155c968f20b2c7e071cbec039acc03/aneris/methods.py
harmonize(
df,
hist,
finalYear = "2050",
harmonizeYear = "2015",
method = "ratio",
suffix = ""
)
df |
data frame with model data to be harmonized, must have the following columns: variable, region, scenario, model, period |
hist |
data frame with historical data to be used for harmonization, must also have the following columns: variable, region, scenario, model, period |
finalYear |
when should harmonized data match model data again? |
harmonizeYear |
when should harmonization begin? sets model data = reference data for this year |
method |
harmonization method, currently supported methods are "ratio" and "offset" |
suffix |
to be appended to harmonized variables |
Falk Benke
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.