View source: R/calcValidCropareaDiversity.R
calcValidCropareaDiversity | R Documentation |
calculates validation for croparea diversity index. As opposed to CropareaDiversityIndex from magpie4 due to lack of data fallow land is not considered
calcValidCropareaDiversity(index = "shannon", groupdiv = "agg1")
index |
can be "shannon", "gini" or "invsimpson" for different types of diversitiy indices |
groupdiv |
should crop groups be split up into several individual items or not? Choose either FALSE or different (dis)aggregation methods "agg1", "agg2" |
MAgPIE object (unit depends on attributes)
Patrick v. Jeetze, Benjamin Leon Bodirsky
## Not run:
x <- calcOutput("ValidCropareaDiversity", index = "shannon", groupdiv = "agg1", aggregate = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.