move_change_point: RJMCMC: Move change point.

Description Usage Arguments Value

View source: R/PWC.R

Description

RJMCMC: Move change point.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
move_change_point(
  partition,
  heights,
  d.spikes,
  hyper.param,
  T.min = NULL,
  max.T.min = NA,
  ISI.type = "Gamma",
  do.log
)

Arguments

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.

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.

Value

new partition and heights


JPNotts/Package documentation built on Oct. 5, 2021, 2:04 p.m.