kaitlyngaynor / hopland-hunting

Exploration of Hopland hunter GPS data
Apache License 2.0
1 stars 0 forks source link

Vegetation should be treated as factor in models #5

Closed kaitlyngaynor closed 2 years ago

kaitlyngaynor commented 4 years ago

https://github.com/kaitlyngaynor/hopland-hunting/blob/ccbc8cd6158f41fb8cc89dfd80926a275d4ac49b/Scripts/06-ssf.Rmd#L151-L153

Currently, vegetation gets scaled along with all of the other raster covariates in this line. However, we should probably pull them out separately and make them a factor (or just make them a factor AFTER scaling? I guess that wouldn't cause any issues, and would be easier?)

kaitlyngaynor commented 2 years ago

This remains true, BUT the moveHMM does not allow for any character covariates, only numeric. We might get around this by using 'area of X within X meters' as a covariate instead of the vegetation type at the point.

kaitlyngaynor commented 2 years ago

Made note to this effect https://github.com/kaitlyngaynor/hopland-hunting/commit/febcbdea6575ef9e1ea93dcc8cfbe68ee37053a9