[R-sig-Geo] plotRGB - negative values

amluiz amommendes at hotmail.com
Tue Aug 6 22:41:55 CEST 2013


Hello,

I'm trying to use plotRGB. But I've negative values in my rasters cells and
I get the following error:

plotRGB(all.pca)
Error in rgb(RGB[, 1], RGB[, 2], RGB[, 3], alpha = alpha, max = scale) : 
  color intensity -1, not in 0:255

Is there some way to solve this?

Thanks in advance,

Amom





--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/plotRGB-negative-values-tp7584356.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list