calc_skids | R Documentation |
The function calc_skids
calculates the number of skid
patches for both single-legged and two-legged skidders for specified
combinations of chainring- and cog-teeth.
calc_skids(front, rear)
front |
The number of chainring teeth. |
rear |
The number of cog teeths. |
The function was inspired by http://www.bikecalc.com/skid_patch_math. Basically, the function divides the cog by the the least common denominator of cog and chainring teeth. This corresponds to the number of skid patches for single-legged skidders. As an extra, the function also calculates the number of skid patches for ambidextrous skidders.
The function returns a data.frame
with two columns:
skid_1 The number of skid patches for single-legged skidders.
skid_2 The number of skid patches for ambidextrous skidders (two-legged skidders).
calc_skids(54, 14)
# you can also specify vectors of length > 1
calc_skids(front = 48:54,
rear = 12:18)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.