rt_ts_get_friendly_time_ticks: Returns friendly axis ticks. e.g. for monthly it returns a...

View source: R/times_series.R

rt_ts_get_friendly_time_ticksR Documentation

Returns friendly axis ticks. e.g. for monthly it returns a factor with values c("2019-01", "2019-02"). If the frequency of the dataset is anything other than 52, 12, 4, it returns the raw time() values.

Description

Returns friendly axis ticks. e.g. for monthly it returns a factor with values c("2019-01", "2019-02"). If the frequency of the dataset is anything other than 52, 12, 4, it returns the raw time() values.

Usage

rt_ts_get_friendly_time_ticks(dataset)

Arguments

dataset

ts dataset


shane-kercheval/rtools documentation built on July 7, 2022, 8:31 a.m.