Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We normally start our R code by loading the required libraries. This Here is an example of how to load R librariesBoxes with grey background contain code snippets.


Div
stylebackground-color: #F8F9F9; border: 1px solid #666; font-size: 12px; padding: 0.5rem 0.5rem;
#***********************************************************************************
# Set Up: Getting ready
#***********************************************************************************

#===================================================================================
# Load  Libraries
#===================================================================================

library(sp)  # Classes and methods for spatial data (the classes document where the spatial location information resides, for 2D or 3D data).
library(rgdal) # Bindings to Geospatial Data Abstraction Library ('GDAL') and access to projection/transformation operations from 'PROJ.4' library. 


...