Learn R Programming

whippr (version 0.1.4)

interpolate: 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)

Value

a tibble

Arguments

.data

Data retrieved from read_data().

Examples

Run this code
if (FALSE) {
## 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()
}

Run the code above in your browser using DataLab