Learn R Programming

mortAAR

With mortAAR you can calculate a life table based on archaeological demographic data. You just need the number of people of a certain age, but you can also use single individual data. mortAAR allows to separate the data according to sex/location/epoch or any other grouping variable.

What is a life table [aka discrete time survival analysis]? According to Chamberlain it is a

"(...) mathematical device for representing the mortality experience of a population and for exploring the effects on survivorship of age-specific probabilities of death. One reason why life tables have been ubiquitous in demography is that mortality cannot easily be modelled as a single equation or continuous function of age."

To our knowledge as of writing, a simple to use and easily accessible tool to calculate and create archaeological life tables has been lacking. That is why we sat down and put mortAAR for R together. We hope it will be of use for archaeologists world-wide.

In our view, mortAAR shines in the following areas:

  • Ease and flexibility of input (different kinds of customization and grouping)
  • Sophisticated means of computation (exploding of age ranges, separation factor for average lived years)
  • Comprehensiveness of output (life tables for all groups specified, plots for the most important measures, relative population calculation)

For further information, please have a look at the Vignettes – Basic usage, Extended discussion, Life table correction and Reproduction – and the Manual.

Installation

mortAAR is available on CRAN and can be installed through install.packages("mortAAR"). You can also install the development version with:

if(!require('remotes')) install.packages('remotes')
remotes::install_github('ISAAKiel/mortAAR', build_vignettes = TRUE)

Licence

mortAAR is released under the GNU General Public Licence, version 3. Comments and feedback are welcome, as are code contributions.

Copy Link

Version

Install

install.packages('mortAAR')

Monthly Downloads

543

Version

1.1.7

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Nils Mueller-Scheessel

Last Published

January 12th, 2025

Functions in mortAAR (1.1.7)

lt.sexrelation

Calculate masculinity index and maternal mortality from a mortAAR life table list
magdalenenberg

magdalenenberg: Life table example
mortaar_plot_rel_popx

Plots the mortality rate rel_popx for a single life table.
plot

Plot a mortaar_life_table or a mortaar_life_table_list
pop.sim.gomp

Simulation of a population of adults with Gompertz distribution
odagsen_mo

odagsen_margo.orbitalis: Life table example
mortaar_plot_x_axis

Calculates the x axis (age) for mortaar life table plots
schleswig_ma

schleswig_ma: Life table example
mortaar_plot_qx

Plots the probability of death qx for a single life table.
print

Encode and print a mortaar_life_table or a mortaar_life_table_list
prep.life.table

Creates the input for the function life.table
muensingen

muensingen: Life table example
odagsen_cm

odagsen_corpus.mandibulae: Life table example
mortaar_plot_rel_popx_frame

Plots a coordinate system for mortality rate rel_popx for a single life table.
mortaar_plot_qx_frame

Plots a coordinate system for probability of death qx for a single life table.
random.cat

Generation of random age ranges
nitra

nitra: Life table example
aiterhofen_oedmuehlen

aiterhofen_oedmuehlen: Life table example
gallery_graves

gallery_graves: Life table example
lt.representativity

Checks the representativity of the non-adult age groups in a mortAAR life table
lt.reproduction

Calculates reproduction indices from a mortAAR life table
mortaar_life_table

mortaar_life_table and mortaar_life_table_list
lt.indices

Generates indices from a mortAAR life table for use in other functions
mortAAR-package

mortAAR: Analysis of Archaeological Mortality Data
mortaar_plot_ex_frame

Plots a coordinate system for life expectancy ex for a single life table.
mortaar_plot_ex

Plots the life expectancy ex for a single life table.
life.table

Calculates a life table
lt.correction

Calculates a corrected life table from a mortAAR life table
lt.population_size

Calculates population size from a mortAAR life table or numeric values
halley.band

Halley band of the mortality profile of a skeletal population
mortaar_plot_lx_frame

Plots a coordinate system for survivorship lx for a single life table.
is

Checks if a variable is of class mortaar_life_table or mortaar_life_table_list
mortaar_plot_lx

Plots the survivorship lx for a single life table.
mortaar_plot_dx

Plots proportion of deaths dx for a single life table.
mortaar_plot_dx_frame

Plots a coordinate system for proportion of deaths dx for a single life table.