Hi Chris,
I am trying to calculate the 3D home range of a few vultures. For that I have calculated the vertical variogram changing the axes to "z" and then I have used this variogram to calculate the automatic GUESS with this code:
vertical_GUESS <- ctmm.guess(tel_object, variogram=vertical_variogram,interactive=FALSE)
After that I calculate also the vertical model with this code:
vertical_model<-ctmm.fit(tel_object,CTMM=vertical_GUESS)
When I have then both models, the vertical and the horizontal calculated (the horizontal alone works fine, thats why I didn't add the code) I use the akde function this way:
UDw <- akde(
tel_object , horizontal_model ,weights=TRUE, VMM =vertical_model)
But I always get this error:
Error in `[.data.frame`(extent(CTMM[[i]], level = 1 - error), , axes) : undefined columns selected
Do you know where could be the problem and what does it mean?
Thank you in advanced!