eFrameGRM: eFrameGRM

View source: R/eFrame.R

eFrameGRMR Documentation

eFrameGRM

Description

eFrameGRM creates an eFrameGRM data object for use with generalized removal models with additional monitoring using the robust design where sampling occurs over a number of primary and secondary periods. The additional monitoring usually consists of an index of abundance and hence, inference follows the combined removal + index/removal method (Chen, Pollock & Hoenig (1998) Biometrics, 54, 815-827).

Usage

eFrameGRM(y, ym, siteCovs = NULL, obsCovs = NULL)

Arguments

y

An MxJ matrix of the observed removal data, where M is the number of sites and J is the maximum number of removal (primary) periods per site. Each primary period can consist of k secondary periods but this is not used here.

ym

An MxJ matrix of the additional monitoring (index) data.

obsCovs

A list of matrices or data.frames of variables varying within sites. Each matrix or data.frame must be of dimension MxJ.

SiteCovs

A data.frame of covariates that vary at the site level. This should have M rows and one column per covariate

Value

a eFrameGRM holding data containing the response and covariates required for removal models

Examples

 rem<- san_nic_rem$rem
 ym<- san_nic_rem$ym # detections from additional monitoring

 emf<-eFrameGRM(rem, ym, type="removal")
 summary(emf)


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