You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the function mt_import_long is called with a mt_id_label value that references columns that contain mixed case, then the data is imported in the wrong order, i.e. the wrong mousetracks are assigned to the incorrect mt_ids.
Thanks a lot for discovering this - and for providing the reproducible example and detailed description. I have fixed this issue now so that the original order of the trajectories is preserved.
Relating to your example above, the imported trajectory array now corresponds to the expected array:
Description
If the function
mt_import_long
is called with amt_id_label
value that references columns that contain mixed case, then the data is imported in the wrong order, i.e. the wrong mousetracks are assigned to the incorrectmt_id
s.Reproducible example
Expected:
Actual:
I.e. the condition
A
is imported in the position of conditionC
.Analysis:
This is caused by a difference how
dplyr::count
(here) andorder
(here) sort mixed case data.Example:
The text was updated successfully, but these errors were encountered: