powered by
Calculates the lifespan of each individual. Returns a data.frame with the individual's id, the last stage reached by that individual, the time of birth, time of death (if dead), and longevity (if dead).
longevity(data)
result of a simulation, created by community
community
# NOT RUN { data(malthusian) longevity(malthusian) # }
Run the code above in your browser using DataLab