Skip to content

WeMix

4.0.3

Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum Likelihood Estimation

5packages depend
10.1Kdownloads / year
85.6%test coverage
8/13checks pass

Overview

About
Maintained by Paul BaileyFirst published 2018-04-1021 releasesCRAN page ↗GitHub ↗

Run mixed-effects models that include weights at every level. The WeMix package fits a weighted mixed model, also known as a multilevel, mixed, or hierarchical linear model (HLM). The weights could be inverse selection probabilities, such as those developed for an education survey where schools are sampled probabilistically, and then students inside of those schools are sampled probabilistically. Although mixed-effects models are already available in R, WeMix is unique in implementing methods for mixed models using weights at multiple levels. Both linear and logit models are supported. Models may have up to three levels. Random effects are estimated using the PIRLS algorithm from 'lme4pureR' (Walker and Bates (2013) https://github.com/lme4/lme4pureR).

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 6.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.55
85.6%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-07-23
    8 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
33%

Downloads

10.1K
CRAN downloads in the past year
Rank #3,538 · ~28/day · ~840/mo
Daily download trend is not available in this view yet.
79830 days
2.8K90 days
10.1K1 year
Compare downloads with other packages →
Also on136 r2u18 autocran2.1K conda_forge45 c2d4u

Repository

Repository
11Stars
1Forks
2Open issues
0Open PRs
0Releases
43Commits
3Contributors
License GPL-2.0 · 43 commits · Last activity 2024-11-21 · 0% stars, 30d

Stars over time

2024-04-05 · 102026-07-07 · 11

Repository practices

Upstream repositoryBeta

Checks run against github.com/american-institutes-for-research/wemix on 2026-08-09.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0lme4
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
1indirect

Code & Tests

People & History

People (10)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author · added in 3.1.3
Author · added in 4.0.0
Contributors (2)
Contributor · added in 3.1.7
Copyright holders (2)
Copyright holder · added in 4.0.0
Copyright holder · added in 4.0.0
Other (1)
pdr · added in 3.1.7
Listed in earlier versions (4)
no longer listed · 1.0.2 to 3.1.1
no longer listed · 3.1.3 to 3.1.6
no longer listed · 3.1.7 to 4.0.0
no longer listed · 4.0.3
Package Timeline

21 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
  • 4.0.3Latest
    2023-11-03 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 4.0.0
    2023-03-21 · diff ↗
  • 3.3.0
    2022-12-21 · diff ↗
  • 3.2.4
    2022-10-05 · diff ↗
  • 3.2.2
    2022-09-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.2.1
    2021-12-07 · diff ↗
  • 3.2.0
    2021-11-16 · diff ↗
  • 3.1.9
    2021-10-20 · diff ↗
  • 3.1.8
    2021-06-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.1.7
    2021-05-11 · diff ↗
Show 17 earlier events
  • 3.1.6
    2020-12-08 · diff ↗
  • 3.1.5
    2020-09-09 · diff ↗
  • 3.1.4
    2020-05-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 3.1.3
    2020-01-09 · diff ↗
  • 3.1.1
    2019-06-27 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 3.0.0
    2019-03-30 · diff ↗
  • 2.2.1
    2019-03-14 · diff ↗
  • 2.2.0
    2019-03-13 · diff ↗
  • unarchivedReturned to CRAN
    2019-03-13
  • archivedRemoved from CRAN
    2019-03-05
    check problems were not corrected despite reminders
  • 2.1.0
    2018-09-24 · diff ↗
  • 2.0.0
    2018-08-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.2
    2018-04-10
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-10
Total releases
21 / 8 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Download size
620 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("WeMix")
Bailey, P., Bates, D., Buehler, E., Huo, H., Kelley, C., Kjeldsen, C. C., Nguyen, T., Sikali, E., Walker, S., & Webb, B. (2023). WeMix: Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum Likelihood Estimation (Version 4.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.WeMix

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 WeMix version 4.0.3 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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