Functions to generate the data set, base plot, and tire pressure
base_pressure_plot
Base pressure chart
bike_tire_pressures()
Compute front and rear tire pressures based on data for bike and rider.
droop_pressure_psi()
Compute the 15% droop tire pressure based on wheel load and tire size
generate_base_pressure_plot()
Generate the base plot of inflation curves for all tire sizes
generate_inflation_data()
Generate the dataset for drawing the inflation curves
tire_sizes_mm()
Nominal tire sizes
Functions to generate the user info
plot_bike_inflation()
Plot and label front and rear wheel inflation data for a bike setup
plot_2_bike_inflation()
Plot and label front and rear wheel inflation data for comparing 2 bike setups
Functions to format data for plotting
check_pressure()
Check if pressure exceeds certain levels
rider_expand_limits()
rider_expand_limits
dual_pressure()
Y axis label formatting function
dual_pressure_point()
Data point formatting function
dual_weight()
X axis label formatting function
plot_title()
Display a generic title and optionally add bike summary info
theme_dg_pale()
Modifications to theme_bw to add a bit of color
theme_bw
Metric/imperial unit conversion
lb_to_kg()
Convert pounds to kilograms
psi_to_bar()
Convert PSI to Bar