Coder Social home page Coder Social logo

rcppocc's Introduction

'Rcppocc' is a package that can be used to fit single-season Bayesian occupancy models as well as a restricted spatial regression (RSRS) occupancy model. models as well as a restricted spatial regression (RSR) occupancy model. It is assumed that the regression effects are modelled using logit link functions.

The following package can be installed as follows:

  1. Install the 'devtools' package in R or RStudio. (i.e. install.packages("devtools"))
  2. Now type the following R lines of code in your R workspace:

require(devtools)
install_github("AllanClark/Rcppocc")

'Rcppocc' should now install. If not, see the additional notes.

Additional notes:

  1. Ensure that the latest version of the 'stocc' package is also installed.
  2. You might also have to update your version of R so that it is compatible with 'stocc'.
  3. Install the latest version of 'Rtools'.
  4. If you ae using old versions of R and using a Mac, have a look at 'https://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-macos/' since there might be compilation errors specific to your laptop/computer.
  5. If you are a Mac user you might also have to install 'clang'. See 'https://github.com/rmacoslib/r-macos-clang'.

If the above installation does not work email your compilation errors and the specs of the your system to [email protected].

A quick note on exiting 'Rcppocc':

If you do not want to use the package in your current project, detach the package as follows:

detach("package:Rcppocc", unload=TRUE)

rcppocc's People

Contributors

allanclark avatar

Watchers

James Cloos 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.