calc_skids: Skid patches

View source: R/calc_skids.R

calc_skidsR Documentation

Skid patches

Description

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.

Usage

calc_skids(front, rear)

Arguments

front

The number of chainring teeth.

rear

The number of cog teeths.

Details

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.

Value

The function returns a data.frame with two columns:

  1. skid_1 The number of skid patches for single-legged skidders.

  2. skid_2 The number of skid patches for ambidextrous skidders (two-legged skidders).

Examples

calc_skids(54, 14)
# you can also specify vectors of length > 1
calc_skids(front = 48:54,
           rear = 12:18)

jannes-m/velo documentation built on May 23, 2023, 2:41 p.m.