Package: ggpyramid Title: Population Pyramids with 'ggplot2' Version: 0.1.0 Authors@R: person("Matan", "Hakim", , "matanhakim@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0009-0002-9372-8975")) Description: Build population pyramids, the back-to-back bar charts of a population by age group and sex, as layers of a 'ggplot2' plot. A position adjustment mirrors one side and stacks subgroups within each side, so bars, labels and lines from any layer land on the correct side while the plot can still be faceted, themed and extended as usual. A coordinate system labels both sides with absolute values, gives them one shared scale, and places the age axis on either side or in a gap at the centre. Further layers count individual records or sum aggregated values, show proportions, label the bars, and draw a second population as a stepped outline for comparison. License: MIT + file LICENSE Depends: R (>= 4.1.0) Encoding: UTF-8 Language: en-GB RoxygenNote: 7.3.3 Imports: cli, ggplot2 (>= 4.0.0), rlang, scales, stats, utils, vctrs Suggests: knitr, rmarkdown, testthat (>= 3.0.0), vdiffr VignetteBuilder: knitr Config/testthat/edition: 3 URL: https://github.com/matanhakim/ggpyramid, https://matanhakim.github.io/ggpyramid/ BugReports: https://github.com/matanhakim/ggpyramid/issues LazyData: true NeedsCompilation: no Packaged: 2026-11-10 23:45:28 UTC; root Author: Matan Hakim [aut, cre, cph] (ORCID: ) Maintainer: Matan Hakim Repository: https://cran.r-universe.dev Date/Publication: 2026-11-10 18:00:02 UTC RemoteUrl: https://github.com/cran/ggpyramid RemoteRef: HEAD RemoteSha: 5d85f15ef03d4f1b2e2866d4952f7baa8da27a48