Skip to contents

A tagged-value constructor that marks a numeric threshold as a number of minutes. Use inside cl_time_diff() for self-documenting thresholds.

Usage

minutes(n)

Arguments

n

A non-negative numeric value.

Value

A tagged numeric with class il_minutes.

Examples

il_spec() |>
  il_compare(timestamp, cl_time_diff(minutes(5), minutes(60)))
#> Linkage Specification
#>   Comparisons (1):
#>     timestamp : time_diff
#>   Blocking rules: (none)