find_resp_len_from_PP: Find resp length from Pulse Pressure data using GAM

View source: R/gam_tools.R

find_resp_len_from_PPR Documentation

Find resp length from Pulse Pressure data using GAM

Description

Find resp length from Pulse Pressure data using GAM

Usage

find_resp_len_from_PP(
  data,
  PP_col = "PP",
  time_col = "time",
  search_interval = c(1.5, 7)
)

Arguments

data

Data frame of timings and pulse pressures of beats

PP_col

Column with pulse pressure values

time_col

Columns with times

search_interval

Respiratory cycle length intervals to search

Value

The respiratory length that minimizes the GAM REML score


JohannesNE/waveformtools documentation built on July 1, 2022, 8:48 p.m.