Learn R Programming

PLmixed

The purpose of PLmixed is to extend the capabilities of lme4 to allow factor structures (i.e., factor loadings and discrimination parameters) to be freely estimated. Thus, factor analysis and item response theory models with multiple hierarchical levels and/or crossed random effects can be estimated using code that requires little more input than that required by lme4. All of the strengths of lme4, including the ability to add (possibly random) covariates and an arbitrary number of crossed random effects, are encompassed within PLmixed. In fact, PLmixed uses lme4 and optim to estimate the model using nested maximizations. Details of this approach can be found in Jeon and Rabe-Hesketh (2012). A manuscript documenting the use of PLmixed is currently in preparation.

Installation

PLmixed can be installed from CRAN with:

install.packages("PLmixed")

Copy Link

Version

Install

install.packages('PLmixed')

Monthly Downloads

301

Version

0.1.8

License

GPL (>= 2)

Maintainer

Nicholas Rockwood

Last Published

October 12th, 2025

Functions in PLmixed (0.1.8)

print.summary.PLmod

print.summary.PLmod
IRTsim

Simulated multilevel IRT dataset.
PLmixed-package

PLmixed: A package for estimating GLMMs with factor structures.
KYPSsim

Simulated KYPS dataset.
JUDGEsim

Simulated Multi-rater Multi-response dataset.
fixef.PLmod

fixef.PLmod
predict.PLmod

predict.PLmod
fitted.PLmod

fitted.PLmod
plot.PLmod

plot.PLmod
PLmixed

Fit GLMM with Factor Structure
ranef.PLmod

ranef.PLmod
simulate.PLmod

simulate.PLmod
coef.PLmod

coef.PLmod
iterPlot

iterPlot
print.PLmod

print.PLmod
KYPSitemsim

Simulated KYPS item-level dataset.
residuals.PLmod

residuals.PLmod
summary.PLmod

summary.PLmod