vital_vars: Return vital variables

View source: R/vital_vars.R

vital_varsR 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)


vital documentation built on June 22, 2024, 9:56 a.m.