diff.spikeTrain {STAR} | R Documentation |
diff
method for spikeTrain
objects.
## S3 method for class 'spikeTrain': diff(x, ...)
x |
a spikeTrain object. |
... |
see diff |
a numeric
Christophe Pouzat christophe.pouzat@gmail.com
diff
,
as.spikeTrain
,
is.spikeTrain
data(CAL1S) ## convert data into spikeTrain objects CAL1S <- lapply(CAL1S,as.spikeTrain) ## look at the individual trains ## first the "raw" data CAL1S[["neuron 1"]] ## get the isi of neuron 1 n1.isi <- diff(CAL1S[["neuron 1"]])