Learn R Programming

scbursts (version 1.6)

bursts.subconductance_as: Imposes a fixed conductance level (0 or 1) to all dwells with subconductance levels to each segment in a burst

Description

The user specifies the desired level ('open' or 'closed'). The function applies segment.subconductance_as to each segment in the burst. (See segment.subconductance_as for details.)

Usage

bursts.subconductance_as(bursts, level)

Arguments

bursts

the list of segments

level

either 'open' or 'closed'

Value

A modified copy of the original burst

Examples

Run this code
# NOT RUN {
infile <- system.file("extdata", "example4.dwt", package = "scbursts")
dwells <- dwt.read(infile)
dwells_c <- risetime.correct_gaussian(Tr=35.0052278, dwells, units="us")
bursts <- bursts.defined_by_tcrit(dwells_c, 100, units="ms")

bursts_d <- bursts.subconductance_as(bursts, "open")

# }

Run the code above in your browser using DataLab