Difference between revisions of "Run GLM demo"
From Age of Water
(Set PropertyValue: Owner = Jordan Read) |
(fleshing out text. will be modifying) |
||
Line 1: | Line 1: | ||
[[Category:Task]] | [[Category:Task]] | ||
<!-- Add any wiki Text above this Line --> | <!-- Add any wiki Text above this Line --> | ||
+ | |||
+ | ===Installing required packages=== | ||
+ | |||
+ | '''Lake Analyzer''' <br /> | ||
+ | In R, type: | ||
+ | <code><pre> install.packages('rLakeAnalyzer') </pre></code> | ||
+ | To use package, type: | ||
+ | <code><pre> library(LakeAnalyzer) </pre></code> | ||
+ | see [http://cran.r-project.org/web/packages/rLakeAnalyzer/rLakeAnalyzer.pdf Lake Analyzer pdf] for help | ||
+ | |||
+ | '''Lake Metabolizer''' <br /> | ||
+ | In R, type: | ||
+ | <code><pre> install.packages('LakeMetabolizer') </pre></code> | ||
+ | To use package, type: | ||
+ | <code><pre> library(LakeMetabolizer) </pre></code> | ||
+ | see [http://cran.r-project.org/web/packages/LakeMetabolizer/LakeMetabolizer.pdf Lake Metabolizer pdf] for help | ||
+ | |||
+ | To see which packages are currently loaded into your R session, type: | ||
+ | <code><pre> search() </pre></code> | ||
+ | |||
+ | '''GLMtools''' (Not on CRAN) <br /> | ||
+ | instructions from [https://github.com/USGS-R/glmtools USGS github] | ||
+ | |||
+ | ''For windows use the following command in R:'' | ||
+ | <code><pre> install.packages("ncdf4",repos = "http://gleon.github.com/",type = "win.binary") </pre></code> | ||
+ | ''then'' | ||
+ | <code><pre> install.packages("glmtools",repos = c("http://gleon.github.com/","http://usgs-r.github.io", | ||
+ | "http://cran.us.r-project.org"), dependencies = TRUE,type = "both", | ||
+ | INSTALL_opts = "--no-multiarch") </pre></code> | ||
+ | |||
+ | ''For OSX or Linux use the following command in R:'' | ||
+ | <code> <pre>install.packages("glmtools",repos = c('http://gleon.github.com/',"http://usgs-r.github.io", | ||
+ | 'http://cran.us.r-project.org'), dependencies = TRUE,type = "both")</pre></code> | ||
+ | |||
<!-- Do NOT Edit below this Line --> | <!-- Do NOT Edit below this Line --> | ||
{{#set: | {{#set: |
Revision as of 21:21, 20 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:
library(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://usgs-r.github.io",
"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://usgs-r.github.io",
'http://cran.us.r-project.org'), dependencies = TRUE,type = "both")