splash_determine_indent_length {SwimmeR} | R Documentation |
Determines indent length for data within swim_parse_splash
Description
In Splash results there are two line types that are of interest and don't begin with either a place or a special string (DNS, DSQ etc.). These are ties and relays swimmers. Relay swimmers are indented further than ties. This function determines the number of spaces, called indent length, prior to a tie row, plus a pad of four spaces.
Usage
splash_determine_indent_length(x, time_score_string)
Arguments
x |
output from |
time_score_string |
a regular expression as a string that describes swimming times and diving scores |
Value
returns a number indicating the number of spaces preceding an athlete's name in a tie row
See Also
splash_determine_indent_length
runs inside of
swim_parse_splash
[Package SwimmeR version 0.14.2 Index]