Learn R Programming

scbursts (version 1.6)

evt.from_dwells: Converts dwell durations to absolute transition times.

Description

Converts dwell durations to absolute transition times.

Usage

evt.from_dwells(segments)

Arguments

segments

A segment or multiple segemtns

Value

A dataframe or multiple dataframes of states and transition times

Examples

Run this code
# NOT RUN {
dwells_file <- system.file("extdata", "example1_qub.dwt", package = "scbursts")
dwells <- dwt.read(dwells_file)

transitions <- evt.from_dwells(dwells)

# }

Run the code above in your browser using DataLab