ggplot2

Rasters In R

An overview of how to work with Rasters in R.

Extracting Data from Rasters

This document shows you how to extract data from rasters.  Getting The Libraries First, I’ll load in some packages to get the ability to work with raster data and to load in the Arapatus attenuatus data set (it is part of the default gstudio package). require(raster) ## Loading required package: raster ## Loading required package: sp require(gstudio) ## Loading required package: gstudio ## Registered S3 method overwritten by 'spdep': ## method from ## plot.