Sur ce site


OnAge is an R package that implements a likelihood ratio test of differential senescence onset between two groups. Given two groups with measured ages and an individual trait likely to be subjected to senescence (e.g. body mass) OnAge provides an asymptotic p-value for the null hypothesis that senescence starts at the same age in both groups.

OnAge exports a single function onset.test. This functions takes as input a log likelihood function ll, two data frames data1 and data2, and a vector describing over which range of senescence onset the log likelihood should be maximized.

The stable version is available on CRAN at In a R session, you can install OnAge doing install.package("OnAge").

You can find informations about OnAge in the vignette of the package :

To cite OnAge in publications, use :
Frédéric Douhard, Jean-Michel Gaillard, Maryline Pellerin, Laurent Jacob, and Jean-François Lemaı̂tre. The cost of growing large : costs of post-weaning growth on body mass senescence in a wild mammal. Oikos, 126(9):1329–1338, 2017. ISSN 600-0706. doi : 10.1111/oik.04421. URL