Difference between revisions of "R Packages"
From Age of Water
(Set PropertyValue: Progress = 100) |
|||
Line 39: | Line 39: | ||
{{#set: | {{#set: | ||
Owner=Hilary_Dugan| | Owner=Hilary_Dugan| | ||
− | Progress= | + | Progress=100| |
StartDate=2014-10-06| | StartDate=2014-10-06| | ||
TargetDate=2014-10-10| | TargetDate=2014-10-10| | ||
Type=Low}} | Type=Low}} |
Revision as of 17:04, 6 October 2014
Installing required packages
Lake Analyzer
In R, type:
install.packages('rLakeAnalyzer')
To use package, type:
library(LakeAnalyzer)
see Lake Analyzer pdf for help
Lake Metabolizer
In R, type:
install.packages('LakeMetabolizer')
To use package, type:
ibrary(LakeMetabolizer)
see Lake Metabolizer pdf for help
To see which packages are currently loaded into your R session, type:
search()
GLMtools (Not on CRAN)
instructions from USGS github
For windows use the following command in R:
install.packages("ncdf4",repos = "http://gleon.github.com/",type = "win.binary")
then
install.packages("glmtools",repos = c("http://gleon.github.com/",
"http://cran.us.r-project.org"), dependencies = TRUE,type = "both",
INSTALL_opts = "--no-multiarch")
For OSX or Linux use the following command in R:
install.packages("glmtools",repos = c('http://gleon.github.com/',
'http://cran.us.r-project.org'), dependencies = TRUE,type = "both")