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

Description Usage Arguments Value Examples

Description

Get the fraction of sensors in the state corresponding to "Rmax" (wrapper)

Usage

1
2
## S4 method for signature 'Sensor'
getProperty(object, ...)

Arguments

object

A sensor object

...

...

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.