Learn R Programming

IGM.MEA (version 0.3.4.1)

isi: isi

Description

calculates the isi (inter-spike interval) (s) between sucessive spikes in a input spike train.

Usage

isi(train)

Arguments

train
spike train: a set of non-decreasing timestamps (s)

Value

a vector of isis: first entry is ISI between first & second spike in input spike train and so forth. Total length is 1 less than input spike train.

Examples

Run this code

data("S") # load data
b<-isi(S$spikes[[1]])
S$spikes[[1]][1:4]
b[1:3]

Run the code above in your browser using DataLab