Skip to content

okenk/fundulus-dispersal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fundulus dispersal

DM_dyn_sig.cpp

This is the model. (TMB package will need to be installed.) Includes an option (passed as data) for the 3 different dispersal models, two different statistical models, and 4 different dispersal options/structures. "MM" stood for michaelis-menten-like curve for dispersal parameter; while that is one option, there are 5 total:

  1. Dispersal distribution is constant over time.
  2. Estimate the dispersal parameter independently for each time period.
  3. Estimate the dispersal parameter a random effect.
  4. Assume increases over time, with an asymptote (ax/[b+x]).
  5. Assume increases over time, with an asymptote (a[1-exp(-bt)]).

for_TMB.R

Compiles the C++ code, loads helper functions for the TMB model.

model-fitting.R

Fits various forms of the model to the observed data

simulations.R

Simulates data and fits model to simulated data as per simulation experiment described in manuscript.

plots.R

Generates plots and tables (in csv files) summarizing data, model fits, and simulations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published