wadpac / GGIR

Code corresponding to R package GGIR
https://wadpac.github.io/GGIR/
Apache License 2.0
99 stars 62 forks source link

applyExtFunction expects x, y and z #1065

Closed vincentvanhees closed 8 months ago

vincentvanhees commented 8 months ago

Function applyExtFunction expects object data with only x, y and z column, but with the recent changes in release 3.0-6 it is also given a timestamp column.

As we discussed it would be good to allow for providing time column, but it seems that the existing code cannot handle this. Therefore, for the time being, I am going to insert data = data[, c("x", "y", "z")] to prevent problems when running external function such as step detection.