Last chance! 50% off unlimited learning
Sale ends in
This function creates a trellis plot with autocorrelation functions for by-subject sequential dependencies in response latencies.
acf.fnc(dat, group="Subject", time="Trial", x = "RT", plot=TRUE, ...)
If plot=TRUE
, a trellis graph, otherwise a data frame with as column
names
Autocorrelation lag
Autocorrelation
The grouping factor, typically Subject
The (approximate) 95% confidence interval.
A data frame with (minimally) a grouping factor, an index for successive trails/events, and a behavioral measure
A grouping factor such as Subject
A sequential time measure such as Trial
number in the
experimental list
The dependent variable, usually a chronometric measure such as RT
If true, a trellis graph is produced, otherwise a data frame with the data on which the trellis graph is based is returned
other optional arguments, such as layout
R. H. Baayen
R. H. Baayen (2001) Word Frequency Distributions, Dordrecht: Kluwer.
lags.fnc
if (FALSE) {
data(beginningReaders)
acf.fnc(beginningReaders, x="LogRT") # autocorrelations even though nonword responses not included
}
Run the code above in your browser using DataLab