View source: R/course_conversions.R
course_convert | R Documentation |
Used to convert times between Long Course Meters, Short Course Meters and Short Course Yards
course_convert(time, event, course, course_to, verbose = FALSE)
time |
A time, or vector of times to convert. Can be in either seconds
(numeric, |
event |
The event swum as |
course |
The course in which the time was swum as |
course_to |
The course to convert the time to as |
verbose |
If
. If |
returns the time
for a specified event
and
course
converted to a time for the specified course_to
in
swimming format OR a data frame containing columns
Time
Course
Course_To
Event
Time_Converted_sec
Time_Converted_mmss
depending on the value of verbose
Relays are not presently supported.
Uses the USA swimming age group method described here: https://support.gomotionapp.com/en/articles/6457476-how-to-perform-course-conversion-factoring-of-times
course_convert(time = "1:35.93", event = "200 Free", course = "SCY", course_to = "LCM")
course_convert(time = 95.93, event = "200 Free", course = "scy", course_to = "lcm")
course_convert(time = 53.89, event = "100 Fly", course = "scm", course_to = "scy")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.