Hello, According to the help file, the predict() function in the raster package creates a RasterLayer. Since a RasterLayer cannot store more than one layer like a RasterStack, I wonder if it is possible to use the predict() functions when the output of the prediction is multivariate? For example when predicting the class probabilities. Is it possible to create a RasterStack with the predict function, in which the probabilies for different classes are stored in single layers?
Thank you. TIM ---------------- Tim Häring Bavarian State Institute of Forest Research Department of Soil and Climate Hans-Carl-von-Carlowitz-Platz 1 D-85354 Freising E-Mail: [email protected] http://www.lwf.bayern.de _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
