place_x_in_y: place_x_in_y

Description

Function positions magpie object x into magpie object y.

Usage

1
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

The combination of x and y. x overwrites y values which are in the same place.

Author(s)

Benjamin Bodirsky

See Also

add_dimension,add_columns,mbind

Examples

1
2
3
 data(population_magpie)
 x <- population_magpie[,"y1995",]*0.2
 a <- place_x_in_y(x, population_magpie)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.