Giter Club home page Giter Club logo

loadflex's Introduction

loadflex: Models and tools for watershed flux estimates

This package implements several of the most common methods for modeling and predicting watershed solute fluxes and concentrations, including interpolation and regression models, period-weighted averaging, and the composite method. loadflex integrates seamlessly with the USGS's rloadest package and with native R regression models. It offers a uniform interface for any model type, with which you can quickly fit models, generate predictions, and aggregate to monthly or annual values.

The package was created by Alison Appling and Miguel Leon with the support of Bill McDowell and the McDowell lab at the University of New Hampshire, 2013-2015. Funding for the project was provided by the National Science Foundation, USDA National Institute of Food and Agriculture, and the NH Agricultural Experiment Station. Funding for the example dataset from the Lamprey River was provied by the EPA, NH Water Resources Research Center, NH Agricultural Experiment Station, NH Sea Grant, USGS, and NSF. This work is described in

Appling, A. P., M. C. Leon, and W. H. McDowell. 2015. Reducing bias and quantifying uncertainty in watershed flux estimates: the R package loadflex. Ecosphere 6(12):269. https://doi.org/10.1890/ES14-00517.1

Additional development and maintenance in 2016-present is being done by Alison Appling, Lindsay Carr, and David Watkins of the USGS Office of Water Information.

To see how to cite this package, type citation("loadflex").

To get started, load the package and type ?loadflex.

Package Status

Name Status
Windows Build: Windows Build status
Linux Build: Linux Build Status
Coveralls: Coveralls Coverage
USGS Status: status

Reporting bugs

Please consider reporting bugs and asking questions on the Issues page: https://github.com/USGS-R/loadflex/issues

Follow @USGS_R on Twitter for updates on USGS R packages:

Twitter Follow

Package Support

The Water Mission Area of the USGS supports maintenance of loadflex through September 2018, and likely further into the future. Resources are available primarily for maintenance and responding to user questions. Some new features may be added as prioritized by the loadflex development team.

USGS

Installation of R and RStudio

This section should only need to be done once per computer.

The following link walks you through an installation of R and RStudio:

Installation Instructions

If you follow those instructions exactly, you should have the USGS R repository (GRAN) added to your R profile. If that step doesn't ring a bell, paste the following into your R console:

rprofile_path = file.path(Sys.getenv("HOME"), ".Rprofile")
write('\noptions(repos=c(getOption(\'repos\'),
    CRAN=\'https://cloud.r-project.org\',
    USGS=\'https://owi.usgs.gov/R\'))\n',
      rprofile_path, 
      append =  TRUE)

cat('Your Rprofile has been updated to include GRAN.
    Please restart R for changes to take effect.')

RESTART RSTUDIO!

Useful links:

Installation of loadflex

This section should also only have to be done once. It assumes the USGS R repository (GRAN) was added to your R profile as described above.

install.packages("loadflex")

Regularly, it is a good idea to update ALL your packages in R. If using RStudio, this is quite easy, there's an Update button in the "Packages" tab. This checks CRAN and GRAN for updates. It is a good idea to click this update regularly.

update

Install Development Version:

To install the current development version of the package*:

devtools::install_github("USGS-R/loadflex")

*You will want to initially install loadflex via the install.packages steps described above to get the non-CRAN package dependencies properly installed.

Also please see the installation FAQ on the wiki (https://github.com/USGS-R/loadflex/wiki/Installation-FAQ) if you run into trouble.

Reporting bugs

Please consider reporting bugs and asking questions on the Issues page: https://github.com/USGS-R/loadflex/issues

Follow @USGS_R on Twitter for updates on USGS R packages:

Twitter Follow

Code of Conduct

We want to encourage a warm, welcoming, and safe environment for contributing to this project. See the code of conduct for more information.

Disclaimer

This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey (USGS), an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at https://www.usgs.gov/visual-id/credit_usgs.html#copyright

Although this software program has been used by the USGS, no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

This software is provided "AS IS."

CC0

loadflex's People

Contributors

aappling-usgs avatar appling avatar katrinleinweber avatar ldecicco-usgs avatar wdwatkins avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.