print {mortAAR}R Documentation

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)


[Package mortAAR version 1.1.6 Index]