Analysis of cottontop abundance at St Juan Nepomuenco
Author
Len Thomas
Published
March 18, 2025
1 Introduction
This document contains an analysis of cottontop tamarin survey results from St Juan Nepomuenco.
Code: load libraries
require(sf)require(tidyverse)require(readxl)require(raster) require(OpenStreetMap) #To download the imageryrequire(tmaptools) # To download satellite imageryrequire(tmap) #To plot maps#Store EPSG coordinate system code for utm18utm18 <-32618wgs84 <-4326source("CottontopHelperFunctions.r")
1.1 Data
Code: read 2021 raw results
#Read in patchespatch_names <-c("San Juan Nepomuceno 1", "Perico", "Laguna")dsn_Design <- ("../2021 Survey Design/GISdata")patches <-st_read(dsn_Design, "forest_parcels_2021", quiet =TRUE)lpatches <- patches %>% dplyr::filter(patch %in% patch_names)transect_strips <-st_read(dsn_Design, "transect_strips_2021", quiet =TRUE)#Use the non-overlapping buffer functions to get buffered polygons# rather than reading from the original shapefiles as these did not deal# with buffering#30m buffer includes original patch within itlpatches_30m <-create_nonoverlapping_buffers(lpatches, 30, TRUE)#300m buffer buffers 30m patch, and does not include original patchlpatches_300m <-create_nonoverlapping_buffers(lpatches_30m, 300, FALSE)#Find transects that touch the selected patchesind <- (lengths(st_intersects(transect_strips, lpatches_30m)) >0) | (lengths(st_intersects(transect_strips, lpatches_300m)) >0) ltransect_strips <- transect_strips[ind, ]lsegments <-read_rds("segments.rds")lsegments$n <- lsegments$titislsegments$n[is.na(lsegments$n)] <-0#Download a sat image basemap and plot behind the patches and segments#create a 500m buffer around the segments, so the basemap is a bit bigger than the segment extenttmp <-st_buffer(st_geometry(lpatches_300m), dist =1000)sat <-read_osm(tmp, zoom =14, type ="esri-imagery") #"bing")sat <-as(sat, "Raster")#sat2 <- projectRaster(sat, crs = CRS(paste0("epsg:", utm18)), method = "bilinear")#sat_df <- as.data.frame(sat, xy = T)
We present below a map of the local area, showing transects and titi detections. For illustration purposes, the figure shows an “outside” segment on each side of the transect line, where this outside segment is 100m wide. Segments in blue were surveyed; those in grey were not. Titi detections are shown in yellow for those inside the transects and in red for those outside. The green lines show the forest patches (the inner sets of lines) and a 300m buffer aroudn these patches (the outer set of lines).
Here, we use titi detections both from inside and outside the transects; to make use of those from outside we assume in this initial analysis that they come from a survey region that is 100m wide (as is shown on the above figure).
Sightings of tits are recorded in the segment they were detected on. In some rare cases the detection is split between inside and outside strata – in which case it is split in proportion to the area of the segments surveyed in that regon.
The total surveyed area in the core area is 443.3946 ha. Within this area 61.83383 titis were seen. This gives a density for the core of 1.394555e-05 and an abundance of 118.1204.