Get ROI values from raster and combine all CSV (remote sensing statistics with R)

R is a great tool for statistics, even if it may be slow in calculing raster’stats, it is really a good way for batching all of your work and presenting your data using MarkDown language. This example is one of my first autonomous script in R, and it is very exciting for further. You can download the whole script SPOT5-GetROIvalues.R on GitHub.

Before showing you the different steps of the code, I need to present you the way I structured my data, because the script is going to parse them and to compile all tables in one file.

Read More