mt_calculate_derivatives(data, use = "trajectories", save_as = use,
dimension = "xypos", acc_on_abs_vel = FALSE, show_progress = TRUE)# Calculate derivatives looking at movement
# across both dimensions
mt_example <- mt_calculate_derivatives(mt_example)
# Calculate derivatives ony looking at movement
# in x dimension
mt_example <- mt_calculate_derivatives(mt_example,
dimension="xpos")Run the code above in your browser using DataLab