diff method for spikeTrain objects

Share:

Description

diff method for spikeTrain objects.

Usage

1
2
## S3 method for class 'spikeTrain'
diff(x, ...)

Arguments

x

a spikeTrain object.

...

see diff

Value

a numeric

Author(s)

Christophe Pouzat christophe.pouzat@gmail.com

See Also

diff, as.spikeTrain, is.spikeTrain

Examples

1
2
3
4
5
6
7
8
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"]])

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.