plot.segmag {segmag}R Documentation

Plot segmentation magnitude

Description

Draws a plot depicting the segmentation magnitude resulting from overlaid Gaussians for each key press time across participants. If segmag_substract is defined then the difference in segmentation magnitude of segmag - segmag_substract is drawn.

Usage

## S3 method for class 'segmag'
plot(x, cutoffs = NULL, eb_times = NULL,
  segmag_substract = NULL, save_as_png = NULL, ...)

Arguments

x

object of class segmag

cutoffs

numeric vector of critical cutoffs that are drawn as horizontal red lines. Use bootstrap_critical_cutoffs in order to determine the cutoffs for a specific segmag object.

eb_times

numeric vector of event boundary times to highlight in the plot

segmag_substract

object of class segmag. If this value is set than the difference in segmentation magnitude of segmag - segmag_substract is drawn.

save_as_png

string, optional name of file where to save plot (.png is added automatically)

...

paramters passed to generic plot function

See Also

segmag


[Package segmag version 1.2.4 Index]