A data frame containing separate autocorrelations for each phase and
for all phases (for each single-case). If lag_max exceeds the length
of a phase minus one, NA is returned for this cell.
Arguments
data
A single-case data frame. See scdf() to learn about this
format.
dvar
Character string with the name of the dependent variable.
Defaults to the attributes in the scdf file.
pvar
Character string with the name of the phase variable. Defaults to
the attributes in the scdf file.
mvar
Character string with the name of the measurement time variable.
Defaults to the attributes in the scdf file.
lag_max, lag.max
The lag up to which autocorrelations will be computed.