# the default value
mt_id <- "mt_id"
# Calculate mouse-tracking measures
mt_example <- mt_calculate_measures(mt_example)
# Merge measures with trial data (adding "_raw"
# to columns already existing in the trial data)
mt_example_results <- merge(
mt_example$data, mt_example$measures,
by="mt_id",suffixes=c("_raw",""))
Run the code above in your browser using DataLab