PDF: Calculate the probability density.

Description Usage Arguments Value

View source: R/Shared.R

Description

Calculate the probability density.

Usage

1
PDF(t, last.spike, hyper, end.time, x, X, ISI.type, do.log = F)

Arguments

t

The time of the current spike

last.spike

The time of the previous spike.

hyper

The ISI parameter value

end.time

The end time of the experiment

x

The intensity function — defined in 0,end.time

X

The integral of the intensity function

ISI.type

The ISI distribution.

do.log

Flag for whether to calculate the pdf on the log scale.

Value

The probability density of a spike at time t given the last spike was at last.spike.


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