print.magpie: print

View source: R/print.magpie.R

print.magpieR Documentation

print

Description

print method for MAgPIE objects for conventient display of magpie data.

Usage

## S3 method for class 'magpie'
print(x, drop = TRUE, reshape = FALSE, ...)

Arguments

x

MAgPIE object

drop

argument which controls whether empty dimensions should be skipped or not.

reshape

argument that controls tabular representation of nested data dimension cross tables, FALSE will reproduce standard print behavior any pair of two dimension numbers will create a table for these two dims, and loop over the other dimensions

...

arguments to be passed to or from other methods.

Value

Invisibly, the MAgPIE object x.

Author(s)

Jan Philipp Dietrich, Kristine Karstens, Felicitas Beier

See Also

print

Examples


pop <- maxample("pop")
print(pop)
print(pop[, 1, ], drop = FALSE)
print(pop[, 1, ])

magclass documentation built on May 29, 2024, 6:20 a.m.