Software Open Access

PascalKieslich/mousetrap: mousetrap 3.1.5

Pascal J. Kieslich; Dirk Wulff; Felix Henninger; Sarah Brockhaus

Changes in specific functions

  • mt_measures: Introduced initiation_threshold argument to allow specifying a minimum distance from the start point of the trajectory that needs to be exceeded for calculating the initiation time.
  • mt_import_mousetrap and mt_check_resolution: Introduced digits argument. If specified, timestamps will be rounded which can potentially be useful if timestamps are recorded with submillisecond precision.
  • mt_import_mousetrap: Introduced unordered argument that allows for different options to handle unordered, that is, non-monotonically increasing timestamps within a trial.
  • mt_plot and mt_plot_aggregate: Introduced wrap_var and wrap_ncol arguments that add wrapping to trajectory plots (i.e., splitting a plot across multiple columns and rows based on the levels of a single variable or a combination of variables).
  • mt_plot_riverbed: Introduced na.rm argument which, if set to TRUE, allows the creation of riverbed plots from trajectories with unequal length (whether this is in practice desirable or not is an open question).
Internal changes
  • mt_import_long: Replaced dplyr/tidyr standard evaluation functions by using embracing and pivoting.
  • mt_reshape: Replaced dplyr/tidyr standard evaluation functions by using embracing and pivoting.
  • mt_plot_riverbed and mt_heatmap_ggplot: Replaced geom_raster with geom_tile.
  • Minor updates in documentation regarding function links and author information.

Files (2.1 MB)
Name Size
PascalKieslich/mousetrap-3.1.5.zip
md5:1adaaa8e527d9246e4e561fcc8b933e9
2.1 MB Download
522
20
views
downloads
All versions This version
Views 52213
Downloads 200
Data volume 33.8 MB0 Bytes
Unique views 49512
Unique downloads 130

Share

Cite as