log_pi_x: Likelihood of the intensity function.

Description Usage Arguments Value

View source: R/Shared.R

Description

Likelihood of the intensity function.

Usage

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

Arguments

d.spikes

Data frame containing spike sequences

hyper.param

Value of the ISI parameter.

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.

x

The intensity function

end.time

End of experiment time

T.min

Refractory period, default set to NULL.

max.T.min

If T.min != NULL, the maximum allowable refractory period.

ISI.type

The ISI distribution.

do.log

Flag, where if do.log is true the calculations are computed on the log scale.

Value

Likelihood of the intensity function.


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