utils_time_units {distantia} | R Documentation |
Data Frame with Supported Time Units
Description
Returns a data frame with the names of the supported time units, the classes that can handle each time unit, and a the threshold used to identify what time units can be used when aggregating a time series.
Usage
utils_time_units(all_columns = FALSE, class = NULL)
Arguments
all_columns |
(optional, logical) If TRUE, all columns are returned. Default: FALSE |
class |
(optional, class name). Used to filter rows and columns. Accepted values are "numeric", "Date", and "POSIXct". Default: NULL |
Value
data frame
See Also
Other internal_time_handling:
utils_as_time()
,
utils_coerce_time_class()
,
utils_is_time()
,
utils_new_time()
,
utils_time_keywords()
,
utils_time_keywords_dictionary()
,
utils_time_keywords_translate()
Examples
df <- utils_time_units()
head(df)
[Package distantia version 2.0.2 Index]