Function in beta and currently only for internal purposes.
mt_qeffect( data, compare, use = "measures", measure = "MAD", direction = "upward", n_steps = 100, return_data = FALSE, ... )
data | a mousetrap data object created using one of the mt_import
functions (see mt_example for details). Alternatively, a trajectory
array can be provided directly (in this case |
---|---|
compare | either a vector, the label of a variable in , or a mousetrap object. |
use | a character string specifying which trajectory data should be used. |
measure | a character value specifying the variable used to calculate the effect between |
direction | a character value. |
n_steps | an integer. |
return_data | boolean. |
... | additional arguments passed on to points. |
Nothing, when image is plotted using an external device. Otherwise an
object of class mt_object_raw
containing in a matrix format the
image's pixel information.
# Plot regular heatmap #SpiveyEtAl2005 = mt_import_long(SpiveyEtAl2005_raw,'x','y',NULL,'t', #mt_id_label = c('ptp','trial')) #heatmap = mt_heatmap_raw(SpiveyEtAl2005,xres = 2000) #mt_heatmap(heatmap,file = NULL) # compute measures #SpiveyEtAl2005 = mt_measures(SpiveyEtAl2005) # Plot heatmap using velocity #mt_heatmap(SpiveyEtAl2005)