complete_time_df: Complete all time intervals for a recording

Description Usage Arguments Value Note

View source: R/complete_time_df.R

Description

Creates all the times for a certain interval and merges with a current data set

Usage

1
complete_time_df(df, interval = NULL, interval_unit = NULL)

Arguments

df

A data.frame with a time column to be merged upon

interval

The interval to space out the times

interval_unit

the unit for the intervals

Value

A data.frame of all the times in a sequence

Note

If either interval or interval_unit are specified, the other must be specified. If both are NULL, then interval_check is run and the minimum interval is used


muschellij2/gluc documentation built on March 2, 2020, 8 p.m.