lastIter | R Documentation |
Returns the value of a parameter in the last iteration
lastIter(gdx, param, secondlast = FALSE)
gdx |
GDX file |
param |
Parameter to be returned |
secondlast |
if TRUE, reads the secondlast iteration. For MAgPIE results, usually there is no last iteration as the food demand model reaches convergence before MAgPIE starts. |
magpie object
Benjamin Leon Bodirsky
## Not run:
x <- lastIter(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.