is | R Documentation |
Checks if a variable is of class mortaar_life_table or mortaar_life_table_list
is.mortaar_life_table_list(x, ...)
is.mortaar_life_table(x, ...)
x |
a variable. |
... |
further arguments passed to or from other methods. |
true if x is a mortaar_life_table or a mortaar_life_table_list, otherwise false.
# Create a mortaar_life_table from a prepared dataset.
class(schleswig_ma)
is.mortaar_life_table(schleswig_ma)
schleswig_1 <- life.table(schleswig_ma[c("a", "Dx")])
class(schleswig_1)
is.mortaar_life_table(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")]
))
is.mortaar_life_table_list(odagsen)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.