#Test of R and R library installs for NANP Modeling Workshop #Open this script in R, highlight all of the text, and press CTRL+R or click #the Run Line or Selection button to execute the selected code. #Check each statement to ensure that it has executed correctly and does not #report any errors. If there are errors with the library load statements, this #likely indicates that package has not been downloaded from the CRAN library #and installed on your computer. Follow instructions below to download the package. #------------ Downloading and Installing Packages.----------------- #To donwload a package: #1) Select Packages from the R menu #2) Select a CRAN mirror site to download from (typically the nearest location) #3) Find and select the Package from the alphabetical list of packages and Click OK. #4) Check the Console messages to make sure the package was downloaded. #5) Any problems with the process ... highlight the errror message and paste # into Google with R at the end and you should find help. We are sorry, but as # we all have day jobs, we won't be able to offer support for R installation # problems. #___________________________Open Packages______________________________________________________ library(deSolve) #Documentation at http://desolve.r-forge.r-project.org/ library(ggplot2) #Documentation at https://cran.r-project.org/web/packages/ggplot2/index.html library (nlme) #Documentation at https://cran.r-project.org/web/packages/nlme/index.html library (lattice) #Documentation at https://cran.r-project.org/web/packages/lattice/index.html library(nlmeODE) #Documentation at https://cran.r-project.org/web/packages/nlmeODE/index.html library(reshape2) #Documentation at https://cran.r-project.org/web/packages/reshape2/index.html library(plyr) #Documentation at https://cran.r-project.org/web/packages/plyr/index.html library(Matrix) #Documentation at https://cran.r-project.org/web/packages/Matrix/index.html library(lme4) #Documentation at https://cran.r-project.org/web/packages/lme4/index.html library(lmerTest) #Documentation at https://cran.r-project.org/web/packages/lmerTest/index.html library(survival) #Documentation at https://cran.r-project.org/web/packages/survival/index.html library(epiR) #Documentation at https://cran.r-project.org/web/packages/epiR/index.html library(MuMIn) #Documentation at https://cran.r-project.org/web/packages/MuMIn/index.html