magclass (version 4.107.0)

magpiesort: 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)

See Also

"'>magpie"

Examples

Run this code
# NOT RUN {
 data(population_magpie)
 a <- magpiesort(population_magpie)

# }

Run the code above in your browser using DataCamp Workspace