Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print

Encode and print a mortaar_life_table or a mortaar_life_table_list


Description

Format for pretty printing.

Arguments

x

a mortaar_life_table or a mortaar_life_table_list.

class_of_deceased

optional string, specify the class of deceased (male, female, phase, ...).

...

further arguments passed to or from other methods.

Value

A string representation of the mortaar_life_table or the mortaar_life_table_list. For format.mortaar_life_table_list each mortaar_life_table is formatted by itself and strung together. The names of the elements are used to specify the name in the returned header of the printout.

Examples

# Create a mortaar_life_table from a prepared dataset.
schleswig_1 <- life.table(schleswig_ma[c("a", "Dx")])
print(schleswig_1)

# Create a mortaar_life_table_list from two datasets.
odagsen <- life.table(list(
  "corpus mandibulae" = odagsen_cm[c("a", "Dx")],
  "margo orbitalis" = odagsen_mo[c("a", "Dx")]
))
print(odagsen)

mortAAR

Analysis of Archaeological Mortality Data

v1.1.0
GPL-3 | file LICENSE
Authors
Nils Mueller-Scheessel [aut, cre, cph], Martin Hinz [aut], Clemens Schmid [aut], Christoph Rinne [aut], Daniel Knitter [aut], Wolfgang Hamer [aut], Dirk Seidensticker [aut], Franziska Faupel [aut], Carolin Tietze [aut], Nicole Grunert [aut]
Initial release
2020-12-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.