extract_xyt | R Documentation |
extract_xyt
extracts the x, y, and t coordinates, i.e. time values, from a time-normalized mousetrap
object. It basically is a wrap of the
extract_x
, extract_y
, and extract_t
functions.
extract_xyt(
tn_data,
ID_column,
timestamps,
verbose = TRUE)
mousetrap |
A |
tn_data |
obsolete: Specify |
ID_column |
To maintain identification of individual trials, specify your ID variable. In older versions, this had to be part of |
timestamps |
Specify the number of timestamps you have used for time-normalizing. |
verbose |
If |
A data frame.
x_key
- Numbered x values per mouse-track ID.
x_value
- The x coordinate value.
y_key
- Numbered y values per mouse-track ID.
y_value
- The y coordinate value.
t_key
- Numbered t values per mouse-track ID.
t_value
- The time value.
ID
- Mouse-track IDs.
D. Schmitz
Kieslich, P. J., Henninger, F., Wulff, D. U., Haslbeck, J. M. B., & Schulte-Mecklenbeck, M. (2019). Mouse-tracking: A practical guide to implementation and analysis. In M. Schulte-Mecklenbeck, A. Kühberger, & J. G. Johnson (Eds.), A Handbook of Process Tracing Methods (pp. 111-130). New York, NY: Routledge.
xyt_data <- extract_xyt(mousetrap = mtqgam_mousetrap,
ID_column = "ID",
timestamps = 100,
verbose = FALSE)
head(xyt_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.