Difference between revisions of "Run GLM demo"
From Age of Water
(fleshing out text. will be modifying) |
m (→Installing required packages) |
||
Line 4: | Line 4: | ||
===Installing required packages=== | ===Installing required packages=== | ||
+ | For '''windows''' use use the following command in R: | ||
'''Lake Analyzer''' <br /> | '''Lake Analyzer''' <br /> | ||
In R, type: | In R, type: | ||
− | <code><pre> install.packages( | + | <code><pre> install.packages("ncdf4", |
− | + | repos = "http://gleon.github.com/", | |
− | + | type = "win.binary") </pre></code> | |
− | + | ||
− | + | then | |
− | + | <code><pre> install.packages("glmtools", | |
− | <code><pre> install.packages( | + | repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"), |
− | + | dependencies = TRUE, | |
− | + | type = "both", | |
− | + | INSTALL_opts = "--no-multiarch") </pre></code> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Do NOT Edit below this Line --> | <!-- Do NOT Edit below this Line --> |
Revision as of 21:29, 20 October 2014
Installing required packages
For windows use use the following command in R:
Lake Analyzer
In R, type:
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", "http://usgs-r.github.com/"),
dependencies = TRUE,
type = "both",
INSTALL_opts = "--no-multiarch")