smpsth | R Documentation |
Generate smooth PSTHs for a set of spike trains
smpsth(spikes, breaks = c(bw = 0.5, step = 0.05), CI = 0.95,
stimRange = NULL, ...)
spikes |
A spiketimes object |
breaks |
bins for psth or smoothing parameters (see STAR::psth) |
CI |
Confidence interval to calculate (defaults to 95 percent) |
stimRange |
Stimulus time range c(start,end) in seconds |
... |
Ignored |
list of psth objects
jefferis
STAR::psth, STAR::plot.psth, spiketimes
spikes=CollectSpikesFromSweeps(
system.file('igor','spikes','nm20120917c1',package='gphys'),
subdir="BLOCKA",stimRange=c(2000,2500))
smpsth(spikes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.