predictTagLifespan: predict the lifespan of specified tag model and burst...

Description Usage Arguments Value Note Author(s)

View source: R/predictTagLifespan.R

Description

Using data published by Lotek, and a simple fitted model, this function estimates the 80% lifespan for those tags. The model is lifeSpan = D / (1 + rt * dutyCycle / BI), where D and rt are fitted parameters, dutyCycle is in [0, 1], and BI is the burst interval, in seconds.

Usage

1
predictTagLifespan(model, bi, dutyCycle = 1)

Arguments

model

character vector of tag models

bi

numeric vector; burst interval, in seconds

dutyCycle

fraction of time tag is transmitting. The usual value, 1.0 is the default. Non-default values would be specified if using a tag that shuts down at night, e.g.

Value

predicted lifespan (days).

Note

for any values in model which are not known, we use the explicit model "unknown" which is defined in lotekTagLifespanByBatteryAndBI as an average of NTQB-2 and NTQB-3-2. We warn about this so that the admin user gets a regular reminder of this situation. see: https://github.com/MotusDev/Motus-TO-DO/issues/327#issuecomment-414180027 and: https://github.com/jbrzusto/motusServer/issues/416

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.