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

Description Usage Arguments Value

View source: R/survivalTime.R

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)


kazi11/actmon documentation built on May 20, 2019, 7:53 a.m.