segment.open_dwells: Extract open dwells. (Any conductance greater than zero)

Description Usage Arguments Value Examples

Description

Extract open dwells. (Any conductance greater than zero)

Usage

1

Arguments

segment

the segment object

Value

the open dwells

Examples

1
2
3
4
5
6
7
# It's more likely that you created states or dwells with some function
states  <-  c(0,      1,    0,    1,    0,    1,    0,    1,    0,    1)
dwells  <-  c(0.1,  1.1,  0.5,  0.2,  1.0,  1.1,  0.6,  1.1,  0.8,  1.1)
my_burst <- segment.create(states, dwells, seg=1, start_time=3.14159, name="example_segment")

open_dwells <- segment.open_dwells(my_burst)
head(open_dwells)

scbursts documentation built on July 6, 2019, 5:02 p.m.