Flip a nativeRaster vertically

nr_flipv(nr)

Arguments

nr

nativeRaster

Value

Original nativeRaster modified in-place

Examples

nr <- nr_new(400, 200, 'white')
nr_rect(nr, 1, 1, 30, 15)
plot(nr)

nr_flipv(nr)
plot(nr)