Hi Robert To create a map of significance of the correlation, I tried substituing the command cor with
cor.test(x,y, method=method)$p.value However, I get an error asying "Error in .calcTest(x[1:5], fun, na.rm, forcefun, forceapply) : cannot use this function" Is it possible to use this function to do that so I get a significance of each pixel correlation? Prajjwal -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/questions-on-RasterStack-Brick-tp5553580p7583903.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo