interpolate {whippr}R 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)

[Package whippr version 0.1.3 Index]