Skip to content

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

License

Notifications You must be signed in to change notification settings

doug-leasure/eflowsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages