vital_vars {vital}R Documentation

Return vital variables

Description

A vital object is a special case of a tsibble object with additional attributes identifying the age, sex, deaths, births and population variables. vital_vars() returns a character vector the names of the vital variables.

Usage

vital_vars(x)

Arguments

x

A tsibble object.

Value

A character vector of the names of the vital variables.

Examples

vital_vars(aus_mortality)


[Package vital version 1.1.0 Index]