merTools0.6.2 package

Tools for Analyzing Mixed Effect Regression Models

collapseFrame

Collapse a dataframe to a single average row

averageObs

Find the average observation for a merMod object

buildModelMatrix

Build model matrix

merModList

Apply a multilevel model to a list of data frames

merTools-package

merTools: Provides methods for extracting and exploring results from m...

mkNewReTrms

Utility function to make RE terms objects

modelFixedEff

Extract averaged fixed effect parameters across a list of merMod objec...

modelInfo

Extract model information from a merMod

modelRandEffStats

Extract data.frame of random effect statistics from merMod List

plot_sim_error_chks

Extract all warning msgs from a merMod object

plotFEsim

Plot the results of a simulation of the fixed effects

plotREsim

Plot the results of a simulation of the random effects

predictInterval

Predict from merMod objects with a prediction interval

print.merModList

Summarize a merMod list

print.summary.merModList

Print the summary of a merMod list

randomObs

Select a random observation from model data

ranef.merModList

Extract random-effects estimates for a merModList

REcorrExtract

Extract the correlations between the slopes and the intercepts from a ...

REextract

Extracts random effects

REimpact

Calculate the weighted mean of fitted values for various levels of ran...

REmargins

Calculate the predicted value for each observation across the distribu...

reOnly

Random Effects formula only

REquantile

Identify group level associated with RE quantile

REsdExtract

Extract the standard deviation of the random effects from a merMod obj...

REsim

Simulate random effects from merMod REsim simulates random effects f...

reTermCount

Count the number of random effect terms

reTermNames

Get names of random effect terms in a model object

RHSForm

Parse merMod formulas

RMSE.merMod

Estimate the Root Mean Squared Error (RMSE) for a lmerMod

sanitizeNames

Clean up variable names in data frames

setup_parallel

Set up parallel environment

shinyMer

Launch a shiny app to explore your merMod interactively

shuffle

Randomly reorder a dataframe

stripAttributes

Remove attributes from a data.frame

subBoot

Bootstrap a subset of an lme4 model

subsetList

Subset a data.frame using a list of conditions

sum.mm

Title

summary.merModList

Print the results of a merMod list

superFactor

Create a factor with unobserved levels

thetaExtract

Extract theta parameters from a merMod model

VarCorr.merModList

Extract the variances and correlations for random effects from a merMo...

wiggle

Assign an observation to different values

draw

Draw a single observation out of an object matching some criteria

expectedRank

Calculate the expected rank of random coefficients that account for un...

famlink

Find link function family

fastdisp

fastdisp: faster display of model summaries

FEsim

Simulate fixed effects from merMod FEsim simulates fixed effects fro...

fetch.merMod.msgs

Extract all warning msgs from a merMod object

findFormFuns

findFormFuns used by averageObs to calculate proper averages

fixef.merModList

Extract fixed-effects estimates for a merModList

formulaBuild

Clean formula

hasWeights

Identify if a merMod has weights

ICC

Calculate the intraclass correlation using mixed effect models

levelfun

Parse merMod levels

Provides methods for extracting results from mixed-effect model objects fit with the 'lme4' package. Allows construction of prediction intervals efficiently from large scale linear and generalized linear mixed-effects models. This method draws from the simulation framework used in the Gelman and Hill (2007) textbook: Data Analysis Using Regression and Multilevel/Hierarchical Models.

  • Maintainer: Jared E. Knowles
  • License: GPL (>= 2)
  • Last published: 2024-02-08