speed_to_mile_pace | R Documentation |
speed_to_mile_pace
converts a speed (in meters per second) to a mile pace.
This method is vectorized, so it works on a column in a data frame. This is
most useful after calling mutate_with_speed()
, to convert that speed
to the more-commonly-used pace. See vignette("pace")
for examples.
speed_to_mile_pace(speed)
speed |
A vector of doubles representing speed in meters per second,
as from |
A corresponding vector of lubridate::duration
values,
representing the mile pace.
speed_to_mile_pace(3)
speed_to_mile_pace(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.