Learn R Programming

timefully (version 0.1.0)

get_timeseries_resolution: Return the time resolution of a time series dataframe

Description

Return the time resolution of a time series dataframe

Usage

get_timeseries_resolution(dtf, units = "mins")

Value

numeric

Arguments

dtf

data.frame or tibble, first column of name datetime being of class datetime and rest of columns being numeric

units

character being one of "auto", "secs", "mins", "hours", "days" and "weeks"

Examples

Run this code
get_timeseries_resolution(dtf, units = "mins")

Run the code above in your browser using DataLab