time_delta_to_n_steps | R Documentation |
Convert a time delta to a integerish number of "unit" steps between time values
time_delta_to_n_steps(time_delta, time_type)
bare integerish vector (with possible
infinite values) that produces the same result as time_delta
when
multiplied by the natural unit_time_delta
for
that time type and added to time values of time type time_type
. If the
given time type does not support infinite values, then it should produce
+Inf or -Inf for analogous entries of time_delta
, and match the addition
result match the addition result for non-infinite entries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.