Hi all,
I am using the adehabitatLT package to identify ARS zones in seabird GPS
tracks, utilising a first passage time approach. I would like to use the
lavielle() function to segment tracks, using first passage time at
appropriate scales as the parameter for segmentation. I have generated fpt
at appropriate scales, identified using varlogfpt. I have an input data
frame (a1_lav) with x, y, datetime, fpt@*r*km (where x and y are UTM). I
have tried:
lavielle(a1_lav, Lmin=5, Kmax=10, ld=1, type="meanvar", which="fpt_11km")
But get an error message:
Error in lavielle.default(g151_burst1_lav, Lmin = 5, Kmax = 10, ld = 1, :
No missing values allowed in the series
The fpt vector has several 'NA's at certain scales, which must be the
missing values.
Any tips on how to use lavielle() more effectively to automate the process
of identifying ARS zones using fpt, or a way around the 'NA's issue, would
be very much appreciated.
Many thanks,
Kylie Scales
Postgraduate Researcher
Plymouth Marine Laboratory
Prospect Place
Plymouth, UK
+44 (0)1752 633165
[[alternative HTML version deleted]]