-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Use case] Multi-individual spatial interaction #2
Comments
Thanks for this contribution too Sebastien! This one will not make it into On a side note, you would want also a third column giving the individual identity in case there are more than two in one single objects… It would also be nice to be able to work over several trajectory objects (like one |
we are working on tools that I think address this issue (or partly thereof) in the package wildlifeDI (which currently uses adehabitat ltraj objects) |
|
@jedalong and @robitalec, are there specific requirements for the tools offered by your respective packages? Would you rely on |
Currently use ltraj, would migrate if it creates efficiencies. A key basic feature is the ability to include multiple individuals in a single sftraj object that can be easily subset (but I think you probably had that). |
It is indeed planned, but does not hurt to repeat it! In the proposal, we have:
So that would be one possibility… which still has to be defined properly (I will probably open a use case just for this). |
@basille, I agree though, the handling of multiple individuals in one object is key. |
Thanks for these details @robitalec. Does |
We used I definitely agree with the comments in #6 about anticipating larger (and not strictly wildlife) datasets and performance being a priority. Unfortunately I don't currently have any large datasets I can share. The example data in |
Our largest dataset here is >1M locations, but I'm sure we can find substantially larger ones. We can also fake them for test purposes… As for
I see there are efforts to make |
I'm re-opening some of these use-cases so theyre easier to find as people submit new ones. |
Closing this issue now that |
Use case:
Assuming two individuals with concomitant tracking data. The 'function' would calculate the distance and the azimuth between the relocation of both individuals for each shared timestamp.
Requirements:
spatial coordinates (x,y) as geographic coordinates with projection information
a time (t) as POSIXt object
information that identifies individuals (e.g. animal) for each location
Input:
One
sftraj
with at least two individual ID with matching timestampsOutput:
two new fields in the
sftraj
object: distance between the two individual and azimuth between the two individualsAdditional information:
The text was updated successfully, but these errors were encountered: