Set up R

Prepare your RStudio project

Install and load the unmarked package

Whose data are you using?

If you’re working with your own data, install and load these packages onto your computer first:

  1. here - helps with project file management
  2. unmarked - analysing sightings and sign from unmarked animals, including Distance sampling methods
install.packages(c("here", "unmarked"))
library(here)
library(unmarked)

Then try adapting our provided code to your own dataset

Don’t forget to ask for help in our community if you get stuck!

If you’re working with our case-study data, but on your own computer:

  1. Install and load these packages
    1. here - helps with project file management
    2. unmarked - analysing sightings and sign from unmarked animals, including Distance sampling methods
  2. Download the data from our Case study
install.packages(c("here", "unmarked"))
library(here)
library(unmarked)

If you’re working with our case-study data here in your browser, you don’t need to install or download anything - it should all just work!

View slides in full screen

Back to top