View source: R/calc_fixie_teeth.R
calc_fixie_teeth | R Documentation |
calc_fixie_teeth
calculates the optimal number of
chainring (front) and cog (rear) teeth for a given gear ratio.
calc_fixie_teeth(ratio = 2.8, tol = 0.1, front = 31:59, rear = 14:21,
nrow = 5)
ratio |
The desired gear ratio given as a positive numeral. |
tol |
Tolerance around which the specified gear ratio might deviate with 0.1 as default. |
front |
Range of the number of chainring teeth given as an integer vector. |
rear |
Range of the number of cog teeth given as an integer vector. |
nrow |
An integer indicating the maximal number of rows which should be returned by the function. |
The function keeps only teeth combinations resulting in gear
ratios within the specified tolerance range. Secondly, it sorts the results
by skid_2
in descending order.
The function returns a dataframe with following columns:
front The optimal number of chainring teeth (see
Details
).
rear The optimal number of cog teeth (see Details
).
ratio The actual gear ratio.
skid_1 The number of skid patches for single-legged skidders.
See calc_skids
for more details.
skid_2 The number of skid patches for two-legged skidders.
See calc_skids
for more details.
Jannes Muenchow
calc_fixie_teeth(2.8, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.