Description Usage Arguments Value
RJMCMC: Change height.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | change_height(
partition,
heights,
d.spikes,
hyper.param,
kappa,
mu,
kappa0,
T.min = NULL,
max.T.min = NA,
ISI.type = "Gamma",
do.log,
which.heights = "independent"
)
|
partition |
Partition of time experiment time. A vector of K values where the first entry is 0 and the last is the end of experiment time. |
heights |
Vector of (K-1) heights corresponding to the partition. |
d.spikes |
Data frame containing spike sequences. |
hyper.param |
ISI parameter. |
kappa |
parameter of priors height |
mu |
parameter of priors height |
kappa0 |
parameter of priors height |
T.min |
Refractory period. |
max.T.min |
Maximal allowed T.min values from d.spikes. |
ISI.type |
The ISI distribution. |
do.log |
Flag, where if do.log is true the calculations are computed on the log scale. |
which.heights |
Method for prior distribution of heights, either 'independent' or 'martingale'. |
New partition and heights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.