eFrameGRMS | R Documentation |
eFrameGRMS
creates an eFrameGRMS 'stacked' data object for use with closed population
generalized removal models + index data using the robust design where sampling occurs over
a number of primary and secondary periods. Data for each primary period is 'stacked'
into rows with an indicator variable added to identify each primary period. The data can
then be analysed using closed population removal models to estimate the trend in abundance
between primary periods.
eFrameGRMS(rem, idx, siteCovs = NULL, obsCovs = NULL, delta = NULL)
rem |
A |
idx |
A |
siteCovs |
A |
obsCovs |
A list of matrices or data.frames of variables varying within sites. Each matrix or data.frame must be of dimension MxJ. |
delta |
A vector with elements giving the time units between primary periods for each site beginning with 1 for the first primary period. A default value of 1 is used to indicate equal time intervals between primary periods. |
a eFrameGRMS
holding stacked data for each primary period.
rem<- san_nic_open$removals
ym<- san_nic_open$index # detections from additional monitoring
emf<-eFrameGRMS(rem, index)
summary(emf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.