diff.spikeTrain {STAR}R Documentation

diff method for spikeTrain objects

Description

diff method for spikeTrain objects.

Usage

## 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

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

[Package STAR version 0.2-2 Index]