Stack multiple worldMatrix into a worldArray.

stackWorlds(...)

# S4 method for worldMatrix
stackWorlds(...)

Arguments

...

worldMatrix objects.

Value

worldArray object.

Details

The worldMatrix objects must all have the same extents.

Examples

w1 <- createWorld(minPxcor = 0, maxPxcor = 4, minPycor = 0, maxPycor = 4, data = 1:25) w2 <- createWorld(minPxcor = 0, maxPxcor = 4, minPycor = 0, maxPycor = 4, data = 25:1) w3 <- stackWorlds(w1, w2) plot(w3)