mt_time_normalize(data, use = "trajectories", save_as = "tn_trajectories",
nsteps = 101, show_progress = TRUE)tn_trajectories) containing the
time-normalized trajectories. In this array, another dimension (called
steps) has been added with increasing integer values indexing the
time-normalized position.nsteps) and the positions at different relative time points can
be compared across trajectories.
For example, time normalized trajectories can be compared across conditions
that differed in their overall response time, as the timestamps are now
relative to the overall trial duration. This is also helpful for creating
average trajectories, which are often used in plots.mt_example <- mt_time_normalize(mt_example,
save_as="tn_trajectories", nsteps=101)Run the code above in your browser using DataLab