descriptive {Rcapture} | R Documentation |
This function produces descriptive statistics for capture-recapture data.
descriptive(X, dfreq=FALSE) ## S3 method for class 'descriptive': print(x, ...) ## S3 method for class 'descriptive': plot(x, ...)
X |
The table of the observed capture histories in one of the two accepted formats. In the default format, it has one row per unit captured in the experiment. In this case, the number of columns in the table represents the number of capture occasions in the experiment (noted t). In the alternative format, it contains one row per capture history followed by its frequency. In that case, X has t+1 columns. The first t columns of X , identifying the capture histories, must contain only zeros and ones. The number one indicates a capture. |
dfreq |
This argument specifies the format of the data matrix X . By default, it is set to FALSE, which means that X has one row per unit. If it is set to TRUE, then the matrix X contains frequencies in its last column. |
x |
An object, produced by the descriptive function, to print or to plot. |
... |
Further arguments passed to or from other methods. |
The plot.descriptive
function produces exploratory heterogeneity graphs. In absence of heterogeneity, the relations presented in the two graphs should be almost linear. Convex fonctions indicate heterogeneity.
n |
The total number of captured units. |
base.freq |
A table of basic descriptive statistics. For i=1,...,t :
|
m.array |
A t by t matrix containing recapture statistics for units released on occasion i, for i=1,...,t :
.... |
Sophie Baillargeon Sophie.Baillargeon@mat.ulaval.ca and
Louis-Paul Rivest Louis-Paul.Rivest@mat.ulaval.ca
Baillargeon, S. and Rivest, L.P. (2007). Rcapture: Loglinear models for capture-recapture in R. Journal of Statistical Software, 19(5), http://www.jstatsoft.org/
Lindsay, B. G. (1986) Exponential family mixture models (with least-squares estimators). Annals of Statistics, 14, 124-137.
Rivest, L.P. (2008). Why a time effect often has a limited impact on capture-recapture estimates in closed populations. Canadian Journal of Statistics, 36(1), to be published.
data(hare) desc<-descriptive(hare) desc plot(desc)