R/nr-core.R
nr_transpose.Rd
Transpose
nr_transpose(nr)
native raster image
Invisibly return the supplied native raster image which was been modified in-place
Other transformation functions: nr_fliph(), nr_flipv(), nr_rotate()
nr_fliph()
nr_flipv()
nr_rotate()
nr <- nr_new(20, 10, 'hotpink') dim(nr) #> [1] 10 20 nr_transpose(nr) dim(nr) #> [1] 20 10