Run GLM demo
Timeline
SubTasks
From Age of Water
Legend: M Mandatory | States: ■ Not defined, ■ Valid, ■ Inconsistent with parent
Installing required packages
For windows use use the following command in R: 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")
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", "http://usgs-r.github.com/"),
dependencies = TRUE,
type = "both")
You now have GLM (GLMr
), R tools for GLM (glmtools
), NetCDF file handlers (ncdf4
), and rLakeAnalyzer
installed!!
Run GLM demo
library(glmtools)
sim_folder <- system.file('extdata/sim/', package = 'GLMr')
if (run_glm(sim_folder)==0){cat('congratulations on setting up and running GLM!')}else{cat('setup failed, contact jread@usgs.gov with questions')}
Properties
Incoming Properties
Credits
Users who have contributed to this Task, its SubTasks and Answers:
- Jordan (16 Edits)
- Hilary (5 Edits)
- Hargreaves (2 Edits)