Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 

README.md

SimDs

Code library to simulate line transect distance sampling with moving animals, using R and C++.

Requires R packages: Rcpp RcppArmadillo

Requires C++ Armadillo library.

Packaged with MCDS engine from Program Distance (http://distancesampling.org/). Runs on Linux machine using WINE.

PERFORMING A SIMULATION

  1. Set parameters for simulation in simds.r file.

  2. If needed, alter following functions in simds.cc file: FitModel(): alter to custom model fitting code, uses MCDS under WINE currently. Clean(): function moves and renames simulated data and MCDS output files to a results directory

  3. If using MCDS, set options in mcds/command.txt, see Program Distance user manual for description.

  4. Once simulation engine is complete. If using MCDS, set options in outputreader.py and run to create CSV file of parameter estimates for analysis in R.

About

Simulate line transect distance sampling with moving animals.

Resources

License

Releases

No releases published

Packages

No packages published