Package: robustlmm 3.4-5

robustlmm: Robust Linear Mixed Effects Models

Implements the Robust Scoring Equations estimator to fit linear mixed effects models robustly. Robustness is achieved by modification of the scoring equations combined with the Design Adaptive Scale approach.

Authors:Manuel Koller [aut, cre]

robustlmm_3.4-5.tar.gz
robustlmm_3.4-5.zip(r-4.7)robustlmm_3.4-5.zip(r-4.6)robustlmm_3.4-5.zip(r-4.5)
robustlmm_3.4-5.tgz(r-4.6-x86_64)robustlmm_3.4-5.tgz(r-4.6-arm64)robustlmm_3.4-5.tgz(r-4.5-x86_64)robustlmm_3.4-5.tgz(r-4.5-arm64)
robustlmm_3.4-5.tar.gz(r-4.7-arm64)robustlmm_3.4-5.tar.gz(r-4.7-x86_64)robustlmm_3.4-5.tar.gz(r-4.6-arm64)robustlmm_3.4-5.tar.gz(r-4.6-x86_64)
robustlmm_3.4-5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
robustlmm/json (API)

# Install 'robustlmm' in R:
install.packages('robustlmm', repos = c('https://kollerma.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kollerma/robustlmm/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

9.86 score 31 stars 280 scripts 7.0k downloads 21 mentions 77 exports 19 dependencies

Last updated from:9288758d50. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK275
linux-devel-x86_64OK352
source / vignettesOK303
linux-release-arm64OK271
linux-release-x86_64OK302
macos-release-arm64OK196
macos-release-x86_64OK444
macos-oldrel-arm64OK176
macos-oldrel-x86_64OK577
windows-develOK281
windows-releaseOK316
windows-oldrelOK280
wasm-releaseOK134

Exports:asymptoticEfficiencyasymptoticVariancebindDatasetsbisquarePsicaseweightIFchgDefaultscomparecPsicreateDatasetsFromListcreateRhoFunctionextractPredefinedTuningParameterextractTuningParameterfindTuningParameterfitDatasets_heavyLmefitDatasets_lmerfitDatasets_lmer_bobyqafitDatasets_lmer_Nelder_MeadfitDatasets_lqmmfitDatasets_rlmefitDatasets_rlmerfitDatasets_rlmer_DAStaufitDatasets_rlmer_DAStau_bisqfitDatasets_rlmer_DAStau_k_0_5fitDatasets_rlmer_DAStau_k_0_5_noAdjfitDatasets_rlmer_DAStau_k_2fitDatasets_rlmer_DAStau_k_2_noAdjfitDatasets_rlmer_DAStau_k_5fitDatasets_rlmer_DAStau_k_5_noAdjfitDatasets_rlmer_DAStau_lmerNoFitfitDatasets_rlmer_DAStau_noAdjfitDatasets_rlmer_DAStau_sizeOBRfitDatasets_rlmer_DASvarfitDatasets_rlmer_ransacfitDatasets_rlmer_ransac_bisqfitDatasets_varComprobfitDatasets_varComprob_compositeSfitDatasets_varComprob_compositeS_2SGSfitDatasets_varComprob_compositeS_OGKfitDatasets_varComprob_compositeTaufitDatasets_varComprob_compositeTau_2SGSfitDatasets_varComprob_compositeTau_OGKfitDatasets_varComprob_SfitDatasets_varComprob_S_2SGSfitDatasets_varComprob_S_OGKgenerateAnovaDatasetsgenerateLongitudinalDatasetsgenerateMixedEffectDatasetsgenerateSensitivityCurveDatasetsgetInfogetMEhuberPsiRcppimplicitIF_fulllapplyDatasetslmerNoFitloadAndMergePartialResultsmakeBisquarePsimergeProcessedFitspartialMoment_standardNormalplotplot.rlmerModplotLongitudinalBySubjectprepareMixedEffectDatasetprocessDatasetsInParallelprocessFileprocessFitpsi2propIIransac_lme4rlmerrlmer_ransacsaveDatasetsshortenLabelsKS2022showsmoothPsisplitDatasetsthetavcov_sandwichviewCopyOfSimulationStudy

Dependencies:bootDEoptimRfastGHQuadlatticelme4MASSMatrixminqanlmenloptrnumDerivrbibutilsRcppRcppEigenRdpackreformulasrlangrobustbasextable

Replication Code For Simulation Studies
Introduction | The code | General structure of code for each presented study | List of Functions From Other Packages | Sensitivity Curves | Consistency and Efficiency | Breakdown | Monte-Carlo Breakdown Sweep | Convergence | Robustness and Empirical Test Coverage | Session Info

Last update: 2026-06-21
Started: 2022-08-05

robustlmm: An R Package for Robust Estimation of Linear Mixed-Effects Models
Introduction | Background | Implementation | Usage | Further information | The smoothed Huber function and tables of tuning constants | Robust estimating equations | Estimation algorithm

Last update: 2026-06-21
Started: 2012-12-18

Readme and manuals

Help Manual

Help pageTopics
Robust linear mixed effects modelsrobustlmm-package robustlmm
Compute Asymptotic EfficienciesasymptoticEfficiency asymptoticVariance findTuningParameter
Bind Generated DatasetsbindDatasets
Default Tukey bisquare psi-function with 'c = 4.685'.bisquarePsi
Case-weight (Hampel) influence function of the fixed effects of a fitted 'rlmerMod' object.caseweightIF
Change default argumentschgDefaults chgDefaults,psi_func_rcpp-method
Create comparison charts for multiple fitscompare getInfo getInfo.lmerMod getInfo.rlmerMod print.xtable.comparison.table xtable.comparison.table
Confidence intervals for the fixed-effect coefficients of an rlmer fit.confint.rlmerMod
Per-observation Cook's-distance equivalent for an rlmerMod fit.cooks.distance.rlmerMod
Create Dataset List From List of Data ObjectscreateDatasetsFromList
Create Rho-Functions With Custom Tuning ParametercreateRhoFunction
Extract Tuning Parameters Used In FittingextractPredefinedTuningParameter extractTuningParameter
Fitting FunctionsfitDatasets fitDatasets_heavyLme fitDatasets_lmer fitDatasets_lmer_bobyqa fitDatasets_lmer_Nelder_Mead fitDatasets_lqmm fitDatasets_rlme fitDatasets_rlmer fitDatasets_rlmer_DAStau fitDatasets_rlmer_DAStau_bisq fitDatasets_rlmer_DAStau_k_0_5 fitDatasets_rlmer_DAStau_k_0_5_noAdj fitDatasets_rlmer_DAStau_k_2 fitDatasets_rlmer_DAStau_k_2_noAdj fitDatasets_rlmer_DAStau_k_5 fitDatasets_rlmer_DAStau_k_5_noAdj fitDatasets_rlmer_DAStau_lmerNoFit fitDatasets_rlmer_DAStau_noAdj fitDatasets_rlmer_DAStau_sizeOBR fitDatasets_rlmer_DASvar fitDatasets_rlmer_ransac fitDatasets_rlmer_ransac_bisq fitDatasets_varComprob fitDatasets_varComprob_compositeS fitDatasets_varComprob_compositeS_2SGS fitDatasets_varComprob_compositeS_OGK fitDatasets_varComprob_compositeTau fitDatasets_varComprob_compositeTau_2SGS fitDatasets_varComprob_compositeTau_OGK fitDatasets_varComprob_S fitDatasets_varComprob_S_2SGS fitDatasets_varComprob_S_OGK
Generate ANOVA type datasetsgenerateAnovaDatasets
Generate Longitudinal DatasetsgenerateLongitudinalDatasets
Generate Mixed Effects DatasetsgenerateMixedEffectDatasets
Generate Datasets To Create Sensitivity CurvesgenerateSensitivityCurveDatasets
Extract or Get Generalize Components from a Fitted Mixed Effects ModelgetME getME.rlmerMod theta
Full implicit influence function (beta, u, sigma, theta) for a fitted 'rlmerMod' object.implicitIF_full
Per-observation influence on (\hat{beta}, \hat{sigma}, \hat{theta}) for an rlmerMod fit.influence.rlmerMod
Lapply for generated datasetslapplyDatasets
Load And Merge Partial ResultsloadAndMergePartialResults
Bisquare (Tukey biweight) psi functionmakeBisquarePsi
Merge Processed FitsmergeProcessedFits
Other methodsshow show,Rcpp_HuberPsi-method show,Rcpp_PsiFunction-method show,Rcpp_PsiFunctionToPropIIPsiFunctionWrapper-method show,Rcpp_SmoothPsi-method
Compute Partial MomentspartialMoment_standardNormal
Plot an Object of the "Psi Function" Classplot,Rcpp_HuberPsi-method plot,Rcpp_PsiFunction-method plot,Rcpp_PsiFunctionToPropIIPsiFunctionWrapper-method plot,Rcpp_SmoothPsi-method plot-methods
Plot Method for "rlmerMod" objects.plot.rlmerMod print.rlmerMod_plots
Plot longitudinal data with robustness-weight colored linesplotLongitudinalBySubject
Predictions and confidence/prediction intervals for an rlmerMod fit.predict.rlmerMod
Prepare Dataset for Parametric BootstrapprepareMixedEffectDataset
Process Datasets in ParallelprocessDatasetsInParallel
Process File of Stored DatasetsprocessFile
Process Fitted ObjectsprocessFit processFit.heavyLme processFit.lmerMod processFit.lqmm processFit.rlme processFit.rlmerMod processFit.varComprob
Classical, Huber and smoothed Huber psi- or rho-functionscPsi huberPsiRcpp psi-functions PsiFunction SmoothPsi smoothPsi
Convert to Proposal 2 weight functionpsi2propII psi2propII,psi_func_rcpp-method psi2propII,Rcpp_SmoothPsi
RANSAC initial estimator for LMMransac_lme4
Get residualsresiduals.rlmerMod
Robust Scoring Equations Estimator for Linear Mixed ModelslmerNoFit rlmer
rlmer with RANSAC initial estimatorrlmer_ransac
rlmerMod Classcoef.rlmerMod deviance.rlmerMod extractAIC.rlmerMod family.rlmerMod fitted.rlmerMod fixef.rlmerMod formula.rlmerMod isGLMM.rlmerMod isLMM.rlmerMod isNLMM.rlmerMod isREML.rlmerMod logLik.rlmerMod model.frame.rlmerMod model.matrix.rlmerMod nobs.rlmerMod print.rlmerMod print.summary.rlmer print.VarCorr.rlmerMod ranef.rlmerMod resid.rlmerMod rlmerMod-class show,rlmerMod-method show.rlmerMod show.summary.rlmerMod sigma.rlmerMod summary.rlmerMod summary.summary.rlmerMod terms.rlmerMod update.rlmerMod VarCorr.rlmerMod VarCorr.summary.rlmerMod vcov.summary.rlmerMod weights.rlmerMod
Save datasetssaveDatasets
Shorten LabelsshortenLabelsKS2022
Split Datasets Into ChunkssplitDatasets
Robust cluster-sandwich covariance of the fixed effects of a fitted 'rlmerMod' object.vcov_sandwich
Variance-covariance matrix of the fixed effects of an rlmerMod fit.vcov.rlmerMod
Access Simulation Study CodeviewCopyOfSimulationStudy