Skip to contents

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

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()
}