Run GLM demo
Timeline
SubTasks
From Age of Water
    TypeM
    low
    ProgressM
    100%
    Start dateM
    18th Oct 2014
    Target dateM
    24th Oct 2014
    Participants
    Not defined!
    Expertise
    Not defined!
    Legend: M Mandatory | States: Not defined, Valid, Inconsistent with parent
    (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('rLakeAnalyzer') </pre></code>
    +
    <code><pre> install.packages("ncdf4",
    To use package, type:
    +
        repos = "http://gleon.github.com/",
    <code><pre> library(LakeAnalyzer) </pre></code>
    +
        type = "win.binary") </pre></code>
    see [http://cran.r-project.org/web/packages/rLakeAnalyzer/rLakeAnalyzer.pdf Lake Analyzer pdf] for help
    +
      
    '''Lake Metabolizer''' <br />
    +
    then
    In R, type:
    +
    <code><pre> install.packages("glmtools",  
    <code><pre> install.packages('LakeMetabolizer') </pre></code>
    +
        repos = c("http://gleon.github.com/", "http://cran.us.r-project.org", "http://usgs-r.github.com/"),
    To use package, type:
    +
        dependencies = TRUE,
    <code><pre> library(LakeMetabolizer) </pre></code>
    +
        type = "both",
    see [http://cran.r-project.org/web/packages/LakeMetabolizer/LakeMetabolizer.pdf Lake Metabolizer pdf] for help
    +
        INSTALL_opts = "--no-multiarch") </pre></code>
     
    +
    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 -->

    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") 



    Properties
    Credits
    Users who have contributed to this Task, its SubTasks and Answers:
    Yandex.Metrica