Print and Summary Methods for repeatedTrain Objects
Description
Print and summary methods
for repeatedTrain
objects.
Usage
1 2 3 4 5 6 7 
Arguments
x 
a 
object 
a 
responseWindow 
a 2 elements vector specifying the begining and the end of the neuron response. 
acquisitionWindow 
a 2 elements vector specifying the begining and
the end of the acquisition. If 
... 
additional arguments passed to function

Details
print.repeatedTrain
calls plot.repeatedTrain
Value
summary.repeatedTrain
returns a LIST of class
summary.repeatedTrain
with the following components:
nbRepeates 
The number of repetitions. 
acquisitionWindow 
The acquisition window. 
stats 
A matrix with as many rows as repetitions. The first
column contains the total number of spikes generated by the neuron
during a given repeat (this column appears under the heading "nb"
when the object is printed). The second column contains the corresponding
average discharge rate (this column appears under the heading "nu"
when the object is printed). If a 
globalPval 
The p value of the chi square test for homogeneity of the total number of spikes generated accross repetitions. Thats a rough stationarity test. 
responsePval 
If a 
Author(s)
Christophe Pouzat christophe.pouzat@gmail.com
See Also
as.repeatedTrain
,
is.repeatedTrain
,
plot.repeatedTrain
,
raster
,
psth
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14  ## Load the Vanillin responses of the first
## cockroach data set
data(CAL1V)
## convert them into repeatedTrain objects
## The stimulus command is on between 4.49 s and 4.99s
CAL1V < lapply(CAL1V,as.repeatedTrain)
## Generate raster plot for the neurons
raster(CAL1V[["neuron 1"]],c(4.49,4.99))
plot(CAL1V[["neuron 2"]],c(4.49,4.99))
plot(CAL1V[["neuron 3"]],c(4.49,4.99))
## Basic summary of neuron 1
summary(CAL1V[["neuron 1"]])
## Enhanced summary giving a response window between 5 and 5.5s
summary(CAL1V[["neuron 1"]],c(5,5.5))
