getFractionMax-Sensor-method: Get the fraction of sensors in the state corresponding to...

Description Usage Arguments Value Examples

Description

This method corresponds to finding the "OxD" in a redox sensor

Usage

1
2
## S4 method for signature 'Sensor'
getFractionMax(object, R = getR(object))

Arguments

object

A sensor object

R

A single number or numeric vector corresponding to an R between Rmin and Rmax

Value

A single number of numeric vector of the fraction of sensors in the maximum-emission state corresponding to the given R

Examples

1
2
3
4
my_sensor <- new("Sensor", Rmin = 1, Rmax = 5, delta = 0.5)
getFractionMax(my_sensor, R = 1)
getFractionMax(my_sensor, R = 3)
getFractionMax(my_sensor, R = 5)

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