Open utterances-bot opened 3 years ago
I'm stuck at Task 6. Maybe some of you can help me. So far I was able to seperate the pedestrian file into seperate matrices (one matrix for each trajID). But I still have the columns TrajID, E, N and DatetimeUTC. When I try to compute the similarity measures with the matrices, I get an error message. I think this input for the functions is wrong as there can only be one vector for traj1 and one for traj2 (i guess). My problem is that i don't know which values i need to keep and which to toss for the calculations to work. Does anyone know which values I need to feed the function?
Hi Marina, I used the select() function to select the columns E and N. I hope this helps :)
Oh, and then you still need to convert your data table into a matrix so the algorithms can read them.
As @nic-steinm mentioned, the functions cannot handle Datetime
(and therefore assumes that both trajectories are sampled concurrently) and are passed as a matrix.
An alternative would be to convert DateTimeUTC
into integer
(POSCXct
is nothing else than the number of seconds after a specific date). All functions allow multidimensional inputs, so the third dimension would be time
Tasks and Inputs | Computational Movement Analysis: Patterns and Trends in Environmental Data
Tasks and Inputs | Computational Movement Analysis: Patterns and Trends in Environmental Data
https://computationalmovementanalysis.github.io/W03_04_tasks_and_inputs.html