Learn R Programming

⚠️There's a newer version (0.6.2) of this package.Take me there.

merTools (version 0.1.0)

Tools for Analyzing Mixed Effect Regression Models

Description

Provides methods for extracting results from merMod objects in the lme4 package. Allows construction of prediction intervals efficiently from large scale LMM and GLMM models.

Copy Link

Version

Install

install.packages('merTools')

Monthly Downloads

4,381

Version

0.1.0

License

GPL (>= 2)

Maintainer

Jared Knowles

Last Published

August 12th, 2015

Functions in merTools (0.1.0)

RMSE.merMod

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

Simulate fixed effects from merMod FEsim simulates fixed effects from merMod object posterior distributions
subBoot

Bootstrap a subset of an lme4 model
plotFEsim

Plot the results of a simulation of the fixed effects
averageObs

Find the average observation for a merMod object
sanitizeNames

Clean up variable names in data frames
plotREsim

Plot the results of a simulation of the random effects
expectedRank

Calculate the expected rank of random coefficients that account for uncertainty.
randomObs

Select a random observation from model data
wiggle

Assign an observation to different values
fastdisp

Display model fit summary of merMod objects, fast
thetaExtract

Extract theta parameters from a merMod model
REquantile

Identify group level associated with RE quantile
shuffle

Randomly reorder a dataframe
formulaBuild

Clean formula
REextract

Extracts random effects
draw

Draw a single observation out of an object matching some criteria
subsetList

Subset a data.frame using a list of conditions
collapseFrame

Collapse a dataframe to a single average row
REimpact

Calculate the weighted mean of fitted values for various levels of random effect terms.
merTools

merTools: Provides methods for extracting and exploring results from merMod objects in the lme4 package.
shinyMer

Launch a shiny app to explore your merMod interactively
superFactor

Create a factor with unobserved levels
REsim

Simulate random effects from merMod REsim simulates random effects from merMod object posterior distributions
predictInterval

Predict from merMod objects with a prediction interval
stripAttributes

Remove attributes from a data.frame