create_all_intervals: Create all time intervals for a recording

Description Usage Arguments Value Note

View source: R/create_all_intervals.R

Description

Creates all the times for a certain interval

Usage

1
2
3
create_all_intervals(times, interval = 1, interval_unit = "mins")

create_all_intervals_df(...)

Arguments

times

Vector of times, usually POSIXct or other date format

interval

The interval to space out the times

interval_unit

the unit for the intervals

...

not used.

Value

A vector of times from minimum to the maximum (including some potential roundup)

Note

The additional create_all_intervals_df function is to simply put this vector into a data.frame in a column called time and a logical called grid


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