guess_period | R Documentation |
period
of time_values
guess_period(
time_values,
time_values_arg = rlang::caller_arg(time_values),
...
)
time_values |
Vector containing time-interval-like or time-point-like data, with at least two distinct values. |
time_values_arg |
Optional, string; name to give |
... |
Should be empty, there to satisfy the S3 generic. |
length-1 vector; class will
either be the same class as base::diff()
on such time values, an
integer, or a double, such that all time_values
can be exactly obtained
by adding k * result
for an integer k, and such that there is no smaller
result
that can achieve this.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.