You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highlighted by workshop participant (working with dung surveys over short distances). dht2 fails with uninterpretable error message when handed a "fitted" uniform function.
the above lapply function is calling varNhat. Suspect the problem is in varNhat which on this line is looking for the Hessian of the fitted model to get some variance bits-and-pieces.
There won't be a Hessian when the detection function is uniform without adjustments.
as Eric pointed out above in the varNhat function line 50 fails as there is no hessian matrix
> vcov <- solvecov(model$hessian)$inv
Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :
'data' must be of a vector type, was 'NULL'
> model$hessian
NULL
Highlighted by workshop participant (working with dung surveys over short distances).
dht2
fails with uninterpretable error message when handed a "fitted" uniform function.MRE:
dht2
failure for uniform modelgenerated by this line of code
but quite happy with the half normal model.
The text was updated successfully, but these errors were encountered: