survivalTime: Computes the index at which a fly died in the data

Description Usage Arguments Value

Description

The algorithm that computes time-of-death for flies in a DAM experiment.

Usage

1
survivalTime(vector, threshold)

Arguments

vector

A column of the dataset to operate on.

threshold

The threshold defines a base number of counts, below which could be considered spurious counts. Designed to prevent a random count here and there from affecting the time-of-death measurement.

Value

Time-of-death (NA if fly was alive)


jstaf/actmon documentation built on May 20, 2019, 2:11 a.m.