summarise_occDet: Summarise Occupancy model output

View source: R/summarise_occDet.R

summarise_occDetR Documentation

Summarise Occupancy model output

Description

This function reads in and summarises all the .rdata files that are output by the occDetModel in sparta.

Usage

summarise_occDet(input_dir, region = NULL, verbose = TRUE)

Arguments

input_dir

The directory where all the .rdata files are located. This will be the same as the output_dir arguement given to occDetModel in sparta when creating the output.

region

If the model output contains regional estimates specify the region name here to extract estimates from that region only (e.g."ENGLAND"). If NULL the estimate based on all sites will be used instead.

verbose

If TRUE then progress is printed to screen.

Value

A data.frame. In each row we have the year, the species and the mean of the posterior for the predicted proportion of sites occupied.


BiologicalRecordsCentre/BRCindicators documentation built on April 22, 2024, 2:32 p.m.