Description Usage Arguments Value Examples
This method determines at which point an animal died during an experiment. This is computed by finding the last time period in which an animal moved. If an animal continued moving (and was alive) until the end of an experiment, this function returns NA for that animal.
1 | calcSurvivalTime(obj, ..., endThresh = 4)
|
obj |
A valid DAM S4 object. |
endThresh |
An optional parameter specifying how long (in hours) an animal must remain motionless before it can be considered "dead." Does not affect the index of death. |
Returns the index at which animals in a dataset died. Returns NAs for animals that remained alive at experiment conclusion.
1 | calcSurvivalTime(DAM_DD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.