Learn R Programming

magclass (version 5.24.7)

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, ...)

Arguments

x

MAgPIE object

drop

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

reshape

agrument 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

print displays the given MAgPIE object on screen.

See Also

print

Examples

Run this code
# NOT RUN {
  pop <- maxample("pop")
  print(pop)
  print(pop[,1,], drop=FALSE)
  print(pop[,1,])

# }

Run the code above in your browser using DataLab