profileCI
function computes the multinomial profile likelihood for the adundance of some closed population capture-recapture models.profileCI(X, dfreq=FALSE, m="M0", h="Chao", a=2, mX=NULL,
mname="Customized model", neg=TRUE, alpha=0.05)
## S3 method for class 'profileCI':
print(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.R
function specifying the form of the column for heterogeneity in the design matrix. "Chao" represents Chao's model, "Poisson" represents the function $f(k)=a^k-1$, where $k$ histpos.t
function.profileCI
function, to print.closedp
, closedp.mX
, closedp.h
data(hare)
profileCI(hare, m = "Mth", h = "Poisson", a = 2)
data(HIV)
mat<-histpos.t(4)
mX2<-cbind(mat,mat[,1]*mat[,2])
profileCI(HIV,dfreq=TRUE,mX=mX2,mname="Mt interaction 1,2")
Run the code above in your browser using DataLab