ratPASTA (version 0.1.2)

latencyPlot: Latency plot

Description

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.

Usage

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

Run this code
# NOT RUN {
# Load data provided with example
df <- ratpasta_demo

# running examples
l <- latencyPlot(df, addhead = 0.1)
# }

Run the code above in your browser using DataLab