Flip a nativeRaster horizontally

nr_fliph(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_fliph(nr)
plot(nr)