time_factor: Turn timespans into an ordered factor

View source: R/utils_date_time.R

time_factorR Documentation

Turn timespans into an ordered factor

Description

Turn timespans into an ordered factor

Usage

time_factor(x)

Arguments

x

chr of timespans

Value

factor

See Also

Other time: duration_print(), excel_date(), month_factor(), season_factor(), time_aggregates, time_difftimes, time_elapsed(), timespan(), week_factor()

Examples

time_factor(c("year", "week"))

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.