split.spiketimes: Split a spiketimes object with multiple repeats into list...

View source: R/spiketimes.R

split.spiketimesR Documentation

Split a spiketimes object with multiple repeats into list with one entry per repeat

Description

Deprecated as of gphys 0.9 and will be removed from gphys 1.0 (CRAN release).

Usage

## S3 method for class 'spiketimes'
split(x, f, drop, ...)

Arguments

x

The spiketimes object

f

number of waves per block - deduced from odour names if missing

drop

IGNORED

...

IGNORED

Details

Only works for spiketimes from single pxp file. FIXME Teach this to cope with repeat blocks with different odours in different order

Value

new spiketimes object (list) with one entry for each block of odours

Author(s)

jefferis

See Also

Other spiketimes: +.spiketimes, [.spiketimes, divide, is.spiketimes, merge.spiketimes, spiketimes, subset.spiketimes


jefferis/gphys documentation built on June 18, 2024, 4:35 a.m.