Skip to content

glorenz

0.1.1Package record

Transformed and Relative Lorenz Curves for Survey Weighted Data

0packages depend
2.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Functions for constructing Transformed and Relative Lorenz curves with survey sampling weights. Given a variable of interest measured in two groups with scaled survey weights so that their hypothetical populations are of equal size, tlorenz() computes the proportion of members of the group with smaller values (ordered from smallest to largest) needed for their sum to match the sum of the top qth percentile of the group with higher values. rlorenz() shows the fraction of the total value of the group with larger values held by the pth percentile of those in the group with smaller values. Fd() is a survey weighted cumulative distribution function and Eps() is a survey weighted inverse cdf used in rlorenz(). Ramos, Graubard, and Gastwirth (2025) doi:10.1093/jrsssa/qnaf044.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #21,923 · ~6/day · ~174/mo
Daily download trend is not available in this view yet.
26330 days
59390 days
2.1K1 year
Compare downloads with other packages →
Also on72 r2u6 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing glorenz adds 56 packages (26 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, GA 4.8 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2025), Copyright holder
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    record
    2025-06-27 · current release · diff ↗
  • 0.1.0
    record
    2025-06-04
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-06-04
Total releases
2 / 1 yrs
License
GPL-3 OSI
Download size
3.5 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("glorenz")
Ramos, M. (2025). glorenz: Transformed and Relative Lorenz Curves for Survey Weighted Data (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.glorenz

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glorenz version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy