Replies: 1 comment 1 reply
-
That error is due to some of the individuals having steps of zero length. You therefore must include zero-mass parameters. See the {momentuHMM} vignette. If you want centers of attraction or centroids to affect the movement of the individuals, then this behavior must be specified via the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Britt and Théo. First of all, congratulations and thank you for the R package. I find it very useful and with great potential for telemetry analysis.
In my case, I want to do something more focused on simulation. I don't need very realistic trajectories, but I do want the simulated animals to visit water points in a similar frequency to how they would in reality. I am fitting the fitHMM model to real trajectories from marked individuals, using water points as activity centers and habitat type (forest, shrubland, grassland, etc.) as spatialCov. My problem is that this treats the water points as independent, so those that are far from the are not considered. But I want the simulated individuals to be attracted to the water points nearby, because the animals were marked in a specific area of the park, but I want to simulate trajectories in a greater extent, including other water points.
I have been looking at other issues and I have seen that perhaps this could be done with centroids instead of centers, in which case for each location and time the centroid is the water point which is closest to the animal. But I don't know how I could do this.
Another idea is to take the average attraction effect that the water points in the area where the original trajectory is located have, and use it as a value for all the centers in the simulation. But I don't know how to access the effect that each water point has on the model, and I think it would be less precise than the previous option.
On the other hand, when I model with one or two individuals, I have no problem, but when I include several (of the same species), I get the following error. I understand that it is a convergence problem because the variability between individuals is very high, but I am not sure about it.
Thank you very much for your time and help.
Best regards,
César.
Beta Was this translation helpful? Give feedback.
All reactions