bin: Bin Recurrence Times

Description Usage Arguments Value

View source: R/recurrence_bin_functions.R

Description

Discretizes recurrence times vector into a data frame according to specified binwidth parameter. A recurrence time of "0" indicates two events happening simultaneously. The "0" bin is treated as the center.

Usage

1
bin(recurrences, binwidth = 0.001)

Arguments

recurrences

Numeric vector representing recurrence times.

binwidth

Numeric. Default = 0.001 (0.001 second or 1 ms). This must have the same significant digits as the recurrences parameter.

Value

data frame containing frequency data.


tweedell/motoRneuron documentation built on Dec. 11, 2018, 1:35 a.m.