getFractionMax-Sensor-method.Rd
This method corresponds to finding the "OxD" in a redox sensor
# S4 method for Sensor getFractionMax(object, R = getR(object))
object | A sensor object |
---|---|
R | A single number or numeric vector corresponding to an R between Rmin and Rmax |
A single number of numeric vector of the fraction of sensors in the maximum-emission state corresponding to the given R
my_sensor <- new("Sensor", Rmin = 1, Rmax = 5, delta = 0.5) getFractionMax(my_sensor, R = 1)#> [1] 0getFractionMax(my_sensor, R = 3)#> [1] 0.6666667getFractionMax(my_sensor, R = 5)#> [1] 1