find_breaths: Breath classifier

Description Usage Arguments Value Examples

View source: R/find_breaths.R

Description

Breath classifier

Usage

1
find_breaths(prh, period, prominence, surf_thr)

Arguments

prh

[data.frame] with column p2 (smoothed depth)

period

minimum interval between breaths

prominence

minimum depth prominence of breath

Value

[data.frame] prh filtered to breaths with surface_idx and row_idx

Examples

1
breaths <- find_breaths(feat, period = 5, prominence = 0.5, surf_thr = 0.5)

FlukeAndFeather/breath documentation built on April 25, 2020, 3:15 a.m.