Using both my own data and a test dataset, there appears to be some pretty big discrepancies between parameter estimates for, as far as I can tell, the same closed population model using secr.fit and openCR.fit packages.
# load data etc
ovtrap <- traps(OVpossumCH[[1]])
datadir <- system.file("extdata", package = "secr")
OVforest <- rgdal::readOGR(dsn = datadir, layer = "OVforest")
ovmask <- make.mask(ovtrap, buffer = 120, type = 'trapbuffer', poly = OVforest[1:2,], spacing = 15, keep.poly = FALSE)
intervals(OVpossumCH) <- c(123, 91, 154, 118, 85)/365 # annual
# fit closed pop model using opencr
closed_opencr <- openCR.fit(OVpossumCH, mask = ovmask, detectfn = "HHR", type = 'secrD')
# massage the predict.openCR results to the same format as predict.secr
pred_closed_opencr <- plyr::rbind.fill(predict(closed_opencr))[c(2,1,3),-1]
rownames(pred_closed_opencr) <- secr$realnames
# fit closed pop model using secr
closed_secr <- secr.fit(OVpossumCH, mask = ovmask, detectfn = "HHR")
# compare the estimates
predict(closed_secr).
pred_closed_opencr
Perhaps I am I missing something obvious (wouldn't be the first time...) - are these models not doing the same thing?