Git Product home page Git Product logo

rota_model's Introduction

Fitting and interpretting the rota et al. (2016) occupancy model for interacting species

This repo is for this blog post here.

If you are here that means you are likely interested in running the code from that post. The R sub-folder pretty much has all you need.

  1. .R/fit_real_data.R: Fits the occupancy model to coyote and gray squirrel camera trap data.
  2. ./R/linear_predictor_examples.R: Some examples I used in the blog post for how the first and second-order parameters work.
  3. ./R/mcmc_utility.R: Contains the split_mcmc() function I created to make predictions way easier with the MCMC output.
  4. ./R/plot_results.R: Plotting out the results from the model for both occupancy and detection.
  5. ./R/simulate_data.R: Not a part of the blog post, but a script that simualtes data and fits the model to those data.

The only other script you may want is in the ./nimble sub-folder, which is ./nimble/rota_model.R. It's the nimble code for the model I fitted to the coyote and gray squirrel data.

rota_model's People

Contributors

mfidino avatar

Stargazers

Rachel Larson, PhD avatar Ugyen Penjor 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.