Giter Site home page Giter Site logo

doug-leasure / eflowsim Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.38 MB

Simulate population dynamics and survey data that respond to stream hydrology using historical data from USGS stream gages.

License: GNU General Public License v3.0

R 100.00%
hydrology population-ecology population-model power-analysis eflows

eflowsim's Introduction

eflowsim

Simulate population dynamics and survey data that respond to stream hydrology.

The R package does the following steps:

  1. Acquire hydrology time series data from a user-defined stream with a USGS stream gauge
  2. Calculate four hydrologic metrics describing mean, variance, high and low flow characteristics.
  3. Allow user to define correlations between hydrologic metrics and population parameters: carrying capacity and intrinsic growth rate.
  4. Simulate a population time series in the selected stream using a multi-population viability analysis model (MPVA; Leasure et al 2019 Ecology).
  5. Simulate field survey data from this population using the sampling and observation models from MPVA.

The user can try to recover the known flow-ecology relationships from the simulated survey data using any analysis method.

Simulations can be repeated many times to calculate type I, II, and III error rates.

See ./demo/ for example workflows, starting with ./demo/eflowsim_example.R.

eflowsim's People

Contributors

doug-leasure avatar

Stargazers

 avatar

Watchers

 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.