rangePlot-pHSensor-method: Make a plot of the suited ranges for this pHSensor

Description Usage Arguments Value Examples

Description

Make a plot of the suited ranges for this pHSensor

Usage

1
2
## S4 method for signature '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

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

julianstanley/SensorOverlord documentation built on Oct. 19, 2020, 2:29 p.m.