## Not run:
# ## 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"]])
# ## next the renewal tests
# renewalTestPlot(CAL1S[["neuron 1"]])
# ## It does not look too bad so let fit simple models
# compModels(CAL1S[["neuron 1"]])
# ## the best one is the invgauss. Let's look at
# ## it in detail
# isiHistFit(CAL1S[["neuron 1"]],"invgauss",xlim=c(0,0.5))
# ## End(Not run)
Run the code above in your browser using DataLab