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)

Arguments

df

A dataframe returned by loadStartleData function.

addhead

Optional argument. If this argument is used in loadStartleData, set addhead to the value

Value

List with two plots

Examples

# Load data provided with example df <- ratpasta_demo # running examples l <- latencyPlot(df, addhead = 0.1)