Recent site activity

R Code‎ > ‎

LexisSurface

[package no longer maintained. I might redo this package entirely in the future. I posted 2 entries showing how to do the same (or similar) in lattice and ggplot2, and recommend following the steps outlined there. For base, do the data prep following the lattice steps, and draw using a single call to polygon()]

Link to Package Downloads

Documentation for package ‘LexisSurface’ version 1.1

Help Pages

LexisSurface-package plot logged Lexis mortality surfaces as triangles!
Fertility Swedish fertility rates in Lexis triangles, calculated from HFD data.
InterpolateLexisTriangles.Dxprop A function to break mortality hazards from Lexis squares into Lexis triangles
InterpolateLexisTriangles.loess A function to break mortality hazards from Lexis squares into Lexis triangles
InterpolateLexisTriangles.MortalitySmooth A function to break mortality hazards from Lexis squares into Lexis triangles
InterpolateLexisTriangles.simple A function to break mortality hazards from Lexis squares into Lexis triangles
LexisColorRefTable function to produce a color reference table used internally by 'PlotLexisTriangles'
LexisLegend produces a color-strip legend used internally by 'PlotLexisTriangles'
Mortality Swedish male mortality data from the HMD.
PlotLexisTriangles plot demographic surfaces as Lexis triangles!