eFrameS | R Documentation |
eFrameS
creates an eFrameS 'stacked' data object for use with closed population
n-mixture or single season occupancy models 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 models to estimate the trend in abundance
between primary periods.
eFrameS(ys, siteCovs = NULL, obsCovs = NULL, delta = NULL)
ys |
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 |
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 eFrameS
holding stacked data for each primary period.
ys<- san_nic_open$counts
emf<-eFrameS(ys)
summary(emf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.