get_datetime_labels: Get pretty time labels from breaks. Full format is applied to...

Description Usage Arguments

View source: R/utils.R

Description

Get pretty time labels from breaks. Full format is applied to generate the first two labels, whilst partial format is applied to all labels in between.

Usage

1
2
3
4
5
get_datetime_labels(
  datetime_breaks,
  full_datetime_format = "%y-%m-%d %H:%M",
  partial_datetime_format = "%H:%M"
)

Arguments

datetime_breaks

input datetime breaks

full_datetime_format

datetime format applied to first and last breaks

partial_datetime_format

datetime format applied to elements in between


ppintosilva/anprflows documentation built on May 20, 2021, 3:25 p.m.