gravatar

De_Sales_Lab

De_Sales_Lab

Recently Published

Ribbon and line ggplot
Example of how to generate a simple ribbon plot in ggplot. You can use this example to plot the projected temperature for you study area.
Model ensemble mean, bias, rmse
Example of how to calculate the model ensemble mean, bias, rmse.
Multi-line ggplot
Example of how to generate a ggplot line plot with 2 lines.
Selecting time intervals
This example shows how to select specific time intervals in a raster
R example 3 - version 2 (week 4)
This is a different version of example 3. It uses a different method to obtain the number of forest an deforested cells and also add a linear regression to the barplot.
R example 3 (week 3)
Week 3 1) reading and stacking multiple geospatial data files 2) cropping to a study area 3) simplify categories from 33 to 3 4) use function cellStats to calculate the number of cells in the raster 5) calculate deforestation rate 6) generate barplot of deforestation rate
R example 2 (week 2)
Reading and plotting geospatial data in R (week 2)
R example 1 (week 1)
Reading and plotting geospatial data in R (week 1)