R/newPixmapRGB.R

"newPixmapRGB" <-
function(red=NULL, green=NULL, blue=NULL) {
  pmap.data <- array(data = c(red, green, blue), dim = c(dim(red)[1], dim(red)[2], 3))
  pmap <- pixmapRGB(pmap.data, nrow=dim(red)[1], ncol=dim(red)[2],
       bbox=NULL, bbcent=FALSE, cellres=1)
  return(pmap)
}

Try the rtiff package in your browser

Any scripts or data that you put into this service are public.

rtiff documentation built on Jan. 14, 2021, 5:20 a.m.