getR-Sensor-method: Method to get an array of R values from a sensor

Description Usage Arguments Value Examples

Description

Takes in a sensor object and returns a vector of valid R values

Usage

1
2
## S4 method for signature 'Sensor'
getR(object, by = 0.01, edgeBy = 100)

Arguments

object

A sensor object

by

The "by" argument for seq. Specifies intervals between subsequent R values

edgeBy

A multiplier for the precision of values near the edges In the range (Rmin, Rmin + by) and (Rmax - by, Rmax), the by argument will be divided by edgeBy.

Value

A numeric array between Rmin and Rmax

Examples

1
2
my_sensor <- new("Sensor", Rmin = 1, Rmax = 5, delta = 0.5)
getR(my_sensor, by = 0.1)

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