Fit the PRO model to data.
Reference: X Luo, S Gee, V Sohal, D Small (In Press). A Point-process Response Model for Optogenetics Experiments on Neural Circuits. _Statistics in Medicine_.
Usage
pro(spike, flash, ...)
Arguments
spike
A binary vector represents spiking (1) or no spiking (0).
flash
A binary vector of the same length of spike, 1 for flashing and 0 for non-flashing.