# \donttest{
# a model with constant lambda
msk <- make.mask(traps(ovenCH[[1]]), buffer = 300, nx = 25)
fit <- secr.fit(ovenCH, model = D~1, mask = msk, trace = FALSE,
details = list(Dlambda = TRUE), ncores = 2)
predictDlambda(fit)
# }
Run the code above in your browser using DataLab