closedp(X, dfreq=FALSE, neg=TRUE)
## S3 method for class 'closedp':
print(x, \dots)
## S3 method for class 'closedp':
boxplot(x, \dots)
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.closedp
function, to print or to plot.X
closedp.h
function. These models are discussed in Rivest and Baillargeon (2007); they typically yield smaller corrections for heterogeneity than Darroch's model since the capture probabilities are bounded from below under these models.
The boxplot.closedp
function produces boxplots of the Pearson residuals of the ten loglinear models.
To perform a bias correction on the abundance estimates, use the closedp.bc
function.uifit
, closedp.bc
, closedp.Mtb
, closedp.mX
, closedp.h
data(hare)
hare.closedp<-closedp(hare)
hare.closedp
boxplot(hare.closedp)
data(mvole)
period3<-mvole[,11:15]
closedp(period3)
Run the code above in your browser using DataLab