Make a plot of the suited ranges for this pHSensor

# S4 method for pHSensor
rangePlot(object, ranges = ranges_df(object), ylim = c(1, 14), by = 1)

Arguments

object

A pHSensor object

ranges

(optional, default = ranges_df(object)) A ranges dataframe)

ylim

The limits of the ranges plot

by

the 'by' argument of the limits axis tick marks

Value

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

Examples

my_sensor <- new("pHSensor", new("Sensor", Rmin = 1, Rmax = 5, delta = 0.2), pKa = 7) rangePlot(my_sensor)