magpiesort: MAgPIE-Sort

View source: R/magpiesort.R

magpiesortR Documentation

MAgPIE-Sort

Description

Brings the spatial and temporal structure of MAgPIE objects in the right order. This function is especially useful when you create new MAgPIE objects as the order typically should be correct for MAgPIE objects.

Usage

magpiesort(x)

Arguments

x

MAgPIE object which might not be in the right order.

Value

The eventually corrected MAgPIE object (right order in spatial in temporal dimension)

Author(s)

Jan Philipp Dietrich

See Also

"magpie"

Examples


pop <- maxample("pop")
a <- magpiesort(pop)

magclass documentation built on July 9, 2023, 7:03 p.m.