inst/examples/install_gfcanalysis.R

###############################################################################
# This script installs the "gfcanalysis" R package created by Alex Zvoleff 
# ([email protected]) for working with the Hansen et al. 2013 Global 
# Forest Change dataset.
#
# After installing the package, see the "analyze_gfc.R" script for an example 
# of how to use the package.
################################################################################

# Install the devtools package (if not already installed). devtools is used to 
# install Alex's "gfcanalysis" package.
if (!require(devtools)) install.packages("devtools")

# Install the snow package used to speed spatial analyses
if (!require(snow)) install.packages("snow")

# Install Alex's gfcanalysis package
library(devtools)
install_github('azvoleff/gfcanalysis')
azvoleff/gfcanalysis documentation built on Nov. 26, 2019, 5:07 a.m.