Learn R Programming

magclass (version 3.85)

print.magpie: print

Description

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

Usage

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

Arguments

x
MAgPIE object
drop
argument which controls whether empty dimensions should be skipped or not.
...
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
  data(population_magpie)
  print(population_magpie)
  print(population_magpie[,1,], drop=FALSE)
  print(population_magpie[,1,])

Run the code above in your browser using DataLab