10.6084/m9.figshare.3555171.v1
J. Andrew Royle
Richard B. Chandler
Kimberly D. Gazenski
Tabitha A. Graves
Supplement 1. R code for computing least-cost path distance and likelihood analysis of the spatial capture–recapture (SCR) model, for computing the marginal likelihood and obtaining the MLEs, and for simulation study, and a narrative walk-through in PDF format.
2016
Wiley
ecological distance
animal movement
spatial capture–recapture
resistance surface
landscape connectivity
least-cost path
2016-08-09 14:10:35
article
https://wiley.figshare.com/articles/dataset/Supplement_1_R_code_for_computing_least-cost_path_distance_and_likelihood_analysis_of_the_spatial_capture_recapture_SCR_model_for_computing_the_marginal_likelihood_and_obtaining_the_MLEs_and_for_simulation_study_and_a_narrative_walk-through_in_PDF_format_/3555171
<h2>File List</h2><div>
<p>
<a href="EDmanuscript-supplements.pdf">EDmanuscript-supplements.pdf</a> (md5: 44eb27bf3d2ab768941365c6a9dc1d43) – R code in pdf form and extra explanation for supplement 1<br>
<a href="leastcostpath.R">leastcostpath.R</a> (md5: f8d1a9c67e4ee10ed633937d82b68f3f) - R code for computing least-cost path distance and likelihood analysis of the SCR model<br>
<a href="MLE.R">MLE.R</a> (md5: 4a4f93a6aa444cb52f458e0dbdc80db5)- R code for computing the marginal likelihood and obtaining the MLEs<br>
<a href="simstudy.R">simstudy.R</a> (md5: 1b05540b8556e498242191382ba37c1b) - R code for simulation study
</p>
</div><h2>Description</h2><div>
<p>The supplement demonstrates the computation of least-cost path and its use in obtaining maximum likelihood estimates of model parameters. The file Leastcostpath.R is an R script which can be executed directly (narrative walk-through is provided by the PDF file EDmanuscript-supplements.pdf). The likelihood function (in the form of an R function) is provided in the R script MLE.R. Finally, the various pieces are put together to carry-out a simulation study in the R script simstudy.R.
</p>
</div>