Difference between revisions of "Run GLM demo"

From Age of Water
Jump to: navigation, search
m (Installing required packages)
m (Installing required packages)
Line 19: Line 19:
  
 
For '''OSX or Linux''' use the following command in R:
 
For '''OSX or Linux''' use the following command in R:
install.packages("glmtools",  
+
<code><pre> install.packages("glmtools",  
 
     repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
 
     repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
 
     dependencies = TRUE,
 
     dependencies = TRUE,
     type = "both")
+
     type = "both")</pre></code>
  
 
You now have GLM, R tools for GLM (glmtools), NetCDF file handlers (ncdf4), and rLakeAnalyzer installed!!
 
You now have GLM, R tools for GLM (glmtools), NetCDF file handlers (ncdf4), and rLakeAnalyzer installed!!
 +
 +
===Run GLM demo===
 
<!-- Do NOT Edit below this Line -->
 
<!-- Do NOT Edit below this Line -->
 
{{#set:
 
{{#set:

Revision as of 21:34, 20 October 2014


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, R tools for GLM (glmtools), NetCDF file handlers (ncdf4), and rLakeAnalyzer installed!!

Run GLM demo

Yandex.Metrica