plot_change: Plot the difference in life expectancy of two life tables

View source: R/fun-figures.R

plot_changeR Documentation

Plot the difference in life expectancy of two life tables

Description

Plot the difference in life expectancy of two life tables

Usage

plot_change(
  L1,
  L2,
  age = seq(0, 110, by = 10),
  perc = FALSE,
  title = NULL,
  subtitle = ""
)

Arguments

L1

Life table corresponding to the region/time period 1;

L2

Life table corresponding to the region/time period 2;

age

Reference ages.

perc

Logical. If TRUE data will be displayed as percentages else as absolute values. Default: FALSE.

title

The text for the title.

subtitle

The text for the subtitle for the plot which will be displayed below the title.


mpascariu/MortalityCauses documentation built on April 17, 2025, 8:31 p.m.