magpiesort {magclass}R 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)

[Package magclass version 6.13.2 Index]