Returns two plots displaying latency in a list. Latency refers to the reaction of the test subject to the startling sound. It is time period from the startling sound to the time stamp of maximal values recorded.
latencyPlot(df, addhead)
df | A dataframe returned by loadStartleData function. |
---|---|
addhead | Optional argument. If this argument is used in loadStartleData, set addhead to the value |
List with two plots
# Load data provided with example df <- ratpasta_demo # running examples l <- latencyPlot(df, addhead = 0.1)