This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################################### | |
# Multivariate methods tutorial | |
# Rob Smith, smithr2@oregonstate.edu, Oregon State Univ, 16 Nov 2017 | |
## CC-BY-SA 4.0 License (Creative Commons Attribution-ShareAlike 4.0) | |
# preamble to load required packages | |
rm(list=ls()) | |
pkg <- c('vegan','viridis') | |
has <- pkg %in% rownames(installed.packages()) | |
if(any(!has))install.packages(pkg[!has]) |