evt.to_dwells: Calculate pulse lengths. Converts transition times to dwell...

Description Usage Arguments Value Examples

Description

Calculate pulse lengths. Converts transition times to dwell durations.

Usage

1
evt.to_dwells(tables)

Arguments

tables

Either a single table or a list of tables with columns "states" and "times"

Value

A segment or a list of segments with one less row, where each row represents pulse in state 0 (closed dwell) of duration 0.51231, instead of the time at which the state transitioned.

Examples

1
2
3
4
infile <- system.file("extdata", "example1_tac.evt", package = "scbursts")
transitions <- evt.read(infile)
dwells <- evt.to_dwells(transitions)
head(dwells[[1]])

dacostalab/scbursts documentation built on June 26, 2019, 7:15 p.m.