diff.spikeTrain: diff method for spikeTrain objects

Description Usage Arguments Value Author(s) See Also Examples

View source: R/spikeTrain.R

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"]])

STAR documentation built on May 31, 2017, 2:28 a.m.