Description Usage Arguments Details Value Author(s) See Also Examples
Print and summary methods
for spikeTrain
objects.
1 2 3 4 |
x, object |
A |
timeUnit |
The unit with which the occurrence times were measured. |
digits |
The number of digits used to print the summary (see
|
... |
see |
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
1 2 3 4 5 6 7 8 9 10 11 | ## 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"]])
|
Loading required package: survival
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-28. For overview type 'help("mgcv-package")'.
Loading required package: R2HTML
Loading required package: gss
Loading required package: codetools
A spike train with 195 events, starting at: 0.318 and ending at: 30.379 (s).
The mean ISI is: 0.155 and its SD is: 0.283 (s).
The mean log(ISI) is: -2.838 and its SD is: 1.291
The shortest interval is: 0.007
and the longest is: 1.99 (s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.