Hi,
I have a csv containing animal movement data which is broken into different
behavioral classes (under the heading line_id). I want to plot each of the
trajectories as a spatial line segment. I am trying to do this in a loop, but I
am running in to problems creating a list of Line objects.
It is hard to help since your code is not reproducible, but there is a way
to do this in the trip package with as.trip.SpatialLinesDataFrame, though
going that route might be unattractive. Please provide the example data
using something like dput(head(lid, n = 10)) rather than a straight dump
like