eFrameGP: eFrameGP

View source: R/eFrame.R

eFrameGPR Documentation

eFrameGP

Description

eFrameGP creates an eFrameGP data object for use with the single site removal estimator remGP().

Usage

eFrameGP(catch, effort, session = NULL, index = NULL, ieffort = NULL)

Arguments

catch

A vector of removals for each period.

effort

A vector of removal effort employed during each period (i.e. trapnights).

session

Optional vector indicating multiple removal 'sessions'. The population for a particular session is considered to be closed and removals for each session are analysed independently. Analysis of catch/effort data for multiple sessions returns a list with length equal to the number of sessions.

index

Optional vector of relative abundance indices for each period.

ieffort

Optional vector of effort employed for the relative index

Value

a eFrameGP holding data suitable for use in remGP

Examples

 rem<- san_nic_rem$rem
 ym<- san_nic_rem$ym # detections from additional monitoring
 catch<- apply(rem,2,sum)
 effort<- rep(nrow(rem), length(catch))
 index<- apply(ym,2,sum)

 emf<-eFrameGP(catch, effort, index)
 summary(emf)


dslramsey/eradicate documentation built on March 16, 2024, 1:40 p.m.