Takes in a ranges_df dataframe and makes a plot!

plot_ranges_general(ranges, ylim, by, y_label)

Arguments

ranges

A dataframe of ranges with at least these columns: 'Sensor_Name': the name of the sensor 'Minimum': the minimum parameter measurable at the given inaccuracy 'Maximum': the maximum parameter measurable at the given inaccuracy 'Inaccuracy': the inaccuracy associated with this row (relative) 'error_thresh': the error threshold associated with this row

ylim

The limits of the ranges plot

by

the 'by' argument of the limits axis tick marks

Value

A ggplot object