magclass (version 6.13.2)

print.magpie: print

Description

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

Usage

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

Value

Invisibly, the MAgPIE object x.

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.

Author

Jan Philipp Dietrich, Kristine Karstens, Felicitas Beier

See Also

Examples

Run this code

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

Run the code above in your browser using DataLab