print.spikeTrain {STAR} | R Documentation |
Print and summary methods
for spikeTrain
objects.
## S3 method for class 'spikeTrain': print(x,...) ## S3 method for class 'spikeTrain': summary(object, timeUnit = "s", digits = 3, ...)
x, object |
A spikeTrain object. |
timeUnit |
The unit with which the occurrence times were measured. |
digits |
The number of digits used to print the summary (see
round ). |
... |
see print and summary . |
print.spikeTrain
does in fact call the plot
method for
spikeTrain
objects.
print.spikeTrain
generates a plot as a side effect.
summary.spikeTrain
returns the number of spikes, the times of
the first and last spikes, the mean inter-spike interval (ISI) and its sd as
well as the mean and sd of the log(ISI) together with the shortest and
longest ISIs.
Christophe Pouzat christophe.pouzat@gmail.com
as.spikeTrain
,
is.spikeTrain
,
renewalTestPlot
,
varianceTime
,
stepfun
## load spontaneous data of 4 putative projection neurons ## simultaneously recorded from the cockroach (Periplaneta ## americana) antennal lobe data(CAL1S) ## convert data into spikeTrain objects CAL1S <- lapply(CAL1S,as.spikeTrain) ## look at the individual trains ## first the "raw" data CAL1S[["neuron 1"]] ## next some summary information summary(CAL1S[["neuron 1"]])