colour_time: Add colour to string Add colour to string based on scheduled...

Description Usage Arguments

View source: R/utils-colour.R

Description

Add colour to string Add colour to string based on scheduled (time) and expected time of a service.

Usage

1
colour_time(time, expected, show_colours = TRUE)

Arguments

time

String with service scheduled time, format: %H:%M.

expected

String with service expected time, format: %H:%M.

show_colours

Boolean flag to indicate if the Expected time should be colour coded or not, based on service time.


villegar/trainR documentation built on Aug. 14, 2021, 10:23 p.m.