details argument of secr.fit.
details$userdist is either a function to compute non-Euclidean
distances between detectors and mask points, or a pre-computed matrix of
such distances. Pre-computing assumes the matrix is fixed (not dependent
on any estimated coefficients).
If details$userdist is a function then it should take the form
userdist(xy1, xy2, mask)sim.capthist to simulate detections of a new
population from sim.popn you must provide userdist
as a function rather than a matrix. This is because new animals are not
restricted to locations on the `mask' grid.details, secr.fit