R Observatory
Search

lodi

0.9.2CRAN

Limit of Detection Imputation for Single-Pollutant Models

Archived on 8 May 2026

CRAN's reason
email to the maintainer is undeliverableMaintainer unreachable
Last release
0.9.2, 7 Feb 2020
0.9.2 from CRAN’s archive
# Needs the pak package. # install.packages("pak") pak::pak("cran::lodi@0.9.2")
CRAN 30-day downloads, method
0Rank 25,667 of 26,529

Impute observed values below the limit of detection (LOD) via censored likelihood multiple imputation (CLMI) in single-pollutant models, developed by Boss et al (2019) <doi:10.1097/EDE.0000000000001052>. CLMI handles exposure detection limits that may change throughout the course of exposure assessment. 'lodi' provides functions for imputing and pooling for this method.

Maintainer
Alexander Rix
Licence
GPL-3
Latest release
7 Feb 2020
First release
18 Jul 2019

Compare with another package

More details
Releases
3
Needs R
>= 3.1.0
LazyData
true
RoxygenNote
6.1.1
Task views (0)

Earlier: Missing Data (until 22 Sep 2026).

Cite

Package

Run in R for the authors' preferred citation:

citation("lodi")
APA
Boss, J., & Rix, A. (n.d.). lodi: Limit of Detection Imputation for Single-Pollutant Models (Version 0.9.2) [Computer software]. Retrieved October 28, 2026, from https://CRAN.R-project.org/package=lodi
About

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

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 lodi version 0.9.2 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-27, which the citation names so these numbers can be found later.

CRAN checks only the packages on CRAN, and it archived this one on 8 May 2026.

Total downloads in the last 30 days
13It is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

25,667 of 26,529

CRAN

0 downloads in the last 30 days

Rank
25,667 of 26,529

It is in the total. Take it out

r2u

3 downloads in the last 30 days

Rank
11,992 of 30,526
Change
no change on the 30 days before

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,768 of 29,212
Change
−42.9% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

6 downloads in the last 30 days

Rank
2,703 of 7,575
Change
−25% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
2
Dependent packages
0
Suggested by
0
Needs (2)
Optional extras (3)
Functions
4
Public exports
4
Lines of R code
489
Median complexity
6.5
Functions (4)
Size and composition

Lines by kind (859)

KindLinesShare
R code48957%
Tests465%
Documentation21625%
Guides10813%

Lines by language

LanguageLinesShare
R53562%
Rd21625%
Vignettes10813%

Languages are counted from file extensions.

Files
21
R functions
4
Complexity
Median
6.5
Mean
9.5
Highest
21
Median lines per function
65
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
4
Calls
0
Unconnected
4
Groups
0
Growth (3 releases)
Total lines by release
701 on 18 Jul 2019859 on 7 Feb 2020
Release changes

No coverage run is on record for this package.

Test cases
1
Lines of tests
46
Exports named in tests
25%
Has tests
Yes
Test frameworks
testthat
Test lines per line of code
0.09
Exports documented
100%
Arguments documented
100%
Return value documented
0%
Help pages with examples
80%
Examples run in checks
100%
Other documentation
README
Yes, 219 words
Release notes file
Yes
Help pages
5
Lines of documentation
216
DatasetSizeColumns
toy_dataSynthetic toy data for clmi100 × 7id, case_cntrl, poll, smoking, gender, batch1 and 1 more

No repository on record

R releases
  • On CRAN
  • Archived
  • Release
0.9.00.9.2ArchivedArchived

Archived

ArchivedBackCRAN's reasonKind
8 May 2026not backemail to the maintainer is undeliverableMaintainer unreachable
VersionReleasedREvents
0.9.27 Feb 20203.6.2Archived 8 May 2026
“email to the maintainer is undeliverable”
0.9.128 Aug 20193.6.1
0.9.018 Jul 20193.6.1
Release notes (0.9.2)

Minor changes

  • Added badges to README.Rmd / README.md to show the CRAN version of lodi, Github version of lodi, and a Travis-CI badge showing whether or not lodi tests are passing. If the Github version and CRAN versions differ, the badges appear as different colors.
  • Added some unit tests to be run when updating the package / before CRAN submission.
  • Added check to ensure exposure data that is below the lod is coded as NA. Users might input an already log transformed exposure in clmi, while not transforming the lod variable. If the transformation is logarithmic, this will catch it
  • Changed the optimization algorithm uses in the MLE procedure from L-BFGS-B to BFGS with reparameterized variance (ie exp(var)) to ensure non-negativity instead of box constraints. Using L-BFGS-B could cause non-finite values of the objective function due to large gradients when evaluating the initial value of the function.

Bug fixes

  • Fixed a subtle bug when calling lodi inside of a function when using a custom exposure function. lodi was internally using the parent frame to enclose the transformation, which is the lodi package namespace, instead of the caller's frame.