miguel-porto / SiMRiv

Individual-based simulation of multistate movements in rivers, heterogeneous and homogeneous spaces incorporating local landscape bias in R
GNU General Public License v3.0
15 stars 4 forks source link

Using state to specify animal step length #8

Open echelleburns opened 5 years ago

echelleburns commented 5 years ago

The documentation for the designation of a movement state for a species suggests that the steplen passed to state() will generate a distribution of step lengths that are truncated at the value passed to the function (values less than that steplen will be used). However, upon plotting the results of the simulation, it appears that the value passed to state for steplen is used as a lower bound, and step lengths equal to or greater than the value passed to the function are generated.

This is for a simulation with a resistance layer that has the same, low level of resistance across all bodies of water.