descriptive(X, dfreq=FALSE, dtype=c("hist","nbcap"), t=NULL)
## S3 method for class 'descriptive':
print(x, \dots)
## S3 method for class 'descriptive':
plot(x, main="Exploratory Heterogeneity Graph", \dots)
Rcapture-package
for a description of the accepted formats).X
has one row per unit. If TRUE, it indicates that
the matrix X
contains frequencies in its last column.X
contains complete observed capture histories. "nbcap" means that X
contains numbers of captures
dtype="nbcap"
. A numeric specifying the total number
of capture occasions in the experiment. The value t=Inf
is accepted. It indicates that captures occur in continuous time.
descriptive
function, to print or to plot.print.default
and plot.default
).dtype="nbcap"
, only the the number of units captured $i$ times, fi, can be computed.dtype="hist"
: A $t$ by $t$ matrix containing recapture statistics for units
released on occasion $i$, for $i=1,\ldots,t$ :
ni: the number of units released on occasion $i$;
c2: the number of units released on occasion $i$ and recaptured for the first time on occasion 2;
...
ct: the number of units released on occasion $i$ and recaptured for the first time on occasion $t$;
not recapt: the number of units released on occasion $i$ and never recaptured again.
The m.array matrix is used in Mark (see White and Burnham 1999; White 2005) and MSurge (see Choquet, Reboulet, Pradel, Gimenez,
and Lebreton 2004) to fit open population models to the data.plot.descriptive
function produces an exploratory heterogeneity graph.
In the absence of heterogeneity, the relation(s) presented in the graph should be almost linear.
Convex functions indicate heterogeneity (Baillargeon and Rivest (2007)).data(hare)
hare.desc<-descriptive(hare)
hare.desc
plot(hare.desc)
data(catb)
catb.desc1<-descriptive(catb,dfreq=TRUE,dtype="nbcap",t=11)
plot(catb.desc1)
# To illustrate the option t=Inf
catb.desc2<-descriptive(catb,dfreq=TRUE,dtype="nbcap",t=Inf)
plot(catb.desc2)
# the y coordinate has changed
Run the code above in your browser using DataLab