interpolate: Interpolate data from breath-by-breath into second-by-second

View source: R/interpolate.R

interpolateR Documentation

Interpolate data from breath-by-breath into second-by-second

Description

This function interpolates the data based on the time column. It takes the breath-by-breath data and transforms it into second-by-second.

Usage

interpolate(.data)

Arguments

.data

Data retrieved from read_data().

Value

a tibble

Examples

## Not run: 
## get file path from example data
path_example <- system.file("example_cosmed.xlsx", package = "whippr")

## read data
df <- read_data(path = path_example, metabolic_cart = "cosmed")

df %>%
 interpolate()

## End(Not run)

fmmattioni/whippr documentation built on July 25, 2024, 12:15 p.m.