toolXlargest: toolXlargest

Description Usage Arguments Value Author(s) Examples

View source: R/toolXlargest.R

Description

Selects the largest countries of a country-level magpie object

Usage

1
toolXlargest(type, range = 1:20, years = NULL, elements = NULL, ...)

Arguments

type

calcOutput function that shall be used for ranking

range

the position of the countries in the top X which should be returned.

years

range of years that shall be summed for ranking. If NULL, the sum of all years is used.

elements

range of elements that shall be summed for ranking. If NULL, all elements are used.

...

further parameters will be handed on to calcOutput function type.

Value

vector with ISO country codes

Author(s)

Benjamin Leon Bodirsky, Jan Philipp Dietrich

Examples

1
2
3
4
## Not run:  
top10 <- toolXlargest(type="TauTotal",range=1:10)

## End(Not run)

madrat documentation built on Dec. 25, 2019, 9:07 a.m.