Learn R Programming

magclass (version 3.74)

place_x_in_y: place_x_in_y

Description

Function positions magpie object x into magpie object y.

Usage

place_x_in_y(x,y,expand=T)

Arguments

x
Object to be placed.
y
Object in which x shall be placed
expand
T: if x is larger than y, new columns are added.

Value

See Also

add_dimension,add_columns,mbind

Examples

Run this code
 data(population_magpie)
 x <- population_magpie[,"y1995",]*0.2
 a <- place_x_in_y(x, population_magpie)

Run the code above in your browser using DataLab