Skip to content

lmw

0.0.2

Linear Model Weights

0packages depend
2.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Noah GreiferFirst published 2023-03-142 releasesCRAN page ↗GitHub ↗

Computes the implied weights of linear regression models for estimating average causal effects and provides diagnostics based on these weights. These diagnostics rely on the analyses in Chattopadhyay and Zubizarreta (2023) doi:10.1093/biomet/asac058 where several regression estimators are represented as weighting estimators, in connection to inverse probability weighting. 'lmw' provides tools to diagnose representativeness, balance, extrapolation, and influence for these models, clarifying the target population of inference. Tools are also available to simplify estimating treatment effects for specific target populations of interest.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
27%

Downloads

2.7K
CRAN downloads in the past year
Rank #14,401 · ~7/day · ~225/mo
Daily download trend is not available in this view yet.
21830 days
76790 days
2.7K1 year
Compare downloads with other packages →
Also on82 r2u26 autocran

Repository

Repository
11Stars
0Forks
0Open issues
0Open PRs
0Releases
79Commits
1Contributors
79 commits · Last activity 2024-02-08

Stars over time

2024-10-01 · 112026-07-07 · 11

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/ngreifer/lmw on 2026-07-19.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 5,385 (77%)Rd 1,650 (23%)
Code characteristics
Object systems
S325
Cyclomatic complexity
5.5 median / 36 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

84 3 exported

Complexity

8.2 avg / 36 max

Call network

84 nodes / 135 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
lalondedata.frame2,675 × 11

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.2Latest
    2024-02-08 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.1
    2023-03-14
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-03-14
Total releases
2 / 3 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
21 KB / 1 file
Download size
268 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →