There's no reason to suspect there is something wrong with the code. The messages you are receiving indicate the function is having a hard time with the perpendicular distances you are giving it.
Have you done a simple plot of the
perpendicular distance distribution to which you are trying to
fit the half normal detection function? The data may be a
sufficiently bizarre shape that a detection function cannot be
fitted. Have a look at the plot and see what it tells you. If
the data look "well behaved", then perhaps we need a
conversation off-list about what else to examine.
You received this message because you are subscribed to the Google Groups "distance-sampling" group.
To unsubscribe from this group and stop receiving emails from it, send an email to distance-sampl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/distance-sampling/5855228e-3591-4971-9464-bd9a760585f8n%40googlegroups.com.
-- Eric Rexstad Centre for Ecological and Environmental Modelling University of St Andrews St Andrews is a charity registered in Scotland SC013532