getProperty-Sensor-method.Rd
Get the fraction of sensors in the state corresponding to "Rmax" (wrapper)
# S4 method for Sensor getProperty(object, ...)
object | A sensor object |
---|---|
... | ... |
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