Learn R Programming

LexisPlotR (version 0.4.0)

Plot Lexis Diagrams for Demographic Purposes

Description

Plots empty Lexis grids, adds lifelines and highlights certain areas of the grid, like cohorts and age groups.

Copy Link

Version

Install

install.packages('LexisPlotR')

Monthly Downloads

397

Version

0.4.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Last Published

January 12th, 2020

Functions in LexisPlotR (0.4.0)

lifelines_sample

Data for 300 random lifelines
lexis_lifeline

Plot lifelines into a Lexis grid
lexis.cohort

Deprecated. Emphasize a certain cohort in a Lexis grid
lexis_grid

Plot a Lexis grid
prepare.hmd

Deprecated. Prepare HMD data for lexis.hmd()
tidy_triangle_data

Tidy triangular data (Lexis triangles)
lexis_polygon

Plot a polygon inside a Lexis grid Takes an existing Lexis grid and adds a polygon.
lexis_year

Emphasize a certain year in Lexis grid.
lexis.grid

Deprecated. Plot a Lexis grid
lexis.survey

Deprecated. Emphasize a survey range in a Lexis grid Takes an existing Lexis grid and adds a coloured parallelogram to highlight a survey range.
lexis.year

Deprecated. Emphasize a certain year in Lexis grid.
lexis.hmd

Deprecated. Fill Lexis triangles by HMD data
lexis.grid2

Deprecated. Plot a Lexis grid
lexis.lifeline

Deprecated. Plot lifelines into a Lexis grid
lexis_age

Emphasize a certain age in Lexis grid
lexis_cohort

Emphasize a certain cohort in a Lexis grid
lexis.age

Deprecated. Emphasize a certain age in Lexis grid