cellularFit | R Documentation |
cellular fit/error/bias calculations at regional and global level
cellularFit(
gdx,
file = NULL,
level = "cell",
statistic = "MAE",
variable = "land",
dataset = "LUH2",
water_aggr = FALSE
)
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
level at which the regional and global bias should be calculated. Options "cell" or "grid" |
statistic |
R2, MAE, MPE (mean percentage error - bias), MAPE (mean absolute percentage error) |
variable |
variable to be evaulated: land (land types) or crop (crop types) |
dataset |
dataset to compare with. LUH2 only option for variable land. LUH2 and MAPSPAM for the crop variable. |
water_aggr |
if irrigation types for crops should be agregated or not |
returns selected statistic at regglo level for the historical part of the time horizon
Edna J. Molina Bacca, Patrick v. Jeetze
## Not run:
x <- cellularFit(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.