merTools: Tools for Analyzing Mixed Effect Regression Models

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.

Author
Jared E. Knowles [aut, cre], Carl Frederick [aut]
Date of publication
2016-03-30 20:35:22
Maintainer
Jared E. Knowles <jknowles@gmail.com>
License
GPL (>= 2)
Version
0.2.1

View on CRAN

Man pages

averageObs
Find the average observation for a merMod object
buildModelMatrix
Build model matrix
collapseFrame
Collapse a dataframe to a single average row
draw
Draw a single observation out of an object matching some...
expectedRank
Calculate the expected rank of random coefficients that...
fastdisp
Display model fit summary of merMod objects, fast
FEsim
Simulate fixed effects from merMod 'FEsim' simulates fixed...
formulaBuild
Clean formula
hsb
A subset of data from the 1982 High School and Beyond survey...
ICC
Calculate the intraclass correlation using mixed effect...
levelfun
Parse merMod levels
merModList
Apply a multilevel model to a list of data frames
merTools
merTools: Provides methods for extracting and exploring...
mkNewReTrms
Utility function to make RE terms objects
modelFixedEff
Extract averaged fixed effect parameters across a list of...
modelInfo
Extract model information from a merMod
modelRandEffStats
Extract data.frame of random effect statistics from merMod...
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
Print the results of a merMod list
randomObs
Select a random observation from model data
REcorrExtract
Extract the correlations between the slopes and the...
REextract
Extracts random effects
REimpact
Calculate the weighted mean of fitted values for various...
reOnly
Random Effects formula only
REquantile
Identify group level associated with RE quantile
REsdExtract
Extract the standard deviation of the random effects from a...
REsim
Simulate random effects from merMod 'REsim' simulates random...
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
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...
wiggle
Assign an observation to different values

Files in this package

merTools
merTools/inst
merTools/inst/shiny-apps
merTools/inst/shiny-apps/shinyMer
merTools/inst/shiny-apps/shinyMer/ui.R
merTools/inst/shiny-apps/shinyMer/server.r
merTools/inst/shiny-apps/shinyMer/global.R
merTools/inst/doc
merTools/inst/doc/Using_predictInterval.html
merTools/inst/doc/merToolsIntro.html
merTools/inst/doc/Using_predictInterval.Rmd
merTools/inst/doc/Using_predictInterval.R
merTools/inst/doc/merToolsIntro.R
merTools/inst/doc/merToolsIntro.Rmd
merTools/inst/modelFigure.R
merTools/tests
merTools/tests/shinyAppTests
merTools/tests/shinyAppTests/test-shinyApps.R
merTools/tests/comparisons
merTools/tests/comparisons/wheelReinvention.R
merTools/tests/timings
merTools/tests/timings/predictSpeed.R
merTools/tests/timings/Compare_bootMer_KF.R
merTools/tests/testthat.R
merTools/tests/testthat
merTools/tests/testthat/test_subboot.R
merTools/tests/testthat/test_expectedRank.R
merTools/tests/testthat/test_substEff.R
merTools/tests/testthat/test_seeds.R
merTools/tests/testthat/test_plots.R
merTools/tests/testthat/test_predict.R
merTools/tests/testthat/test_merModList.R
merTools/tests/testthat/test_fastdisp.R
merTools/tests/testthat/test_merData.R
merTools/tests/testthat/test_merExtract.R
merTools/tests/testthat/test_helpers.R
merTools/tests/testthat/test_matrixCPP.R
merTools/NAMESPACE
merTools/NEWS.md
merTools/data
merTools/data/hsb.rda
merTools/R
merTools/R/shinyMer.R
merTools/R/merExtract.R
merTools/R/helpers.R
merTools/R/merTools-package.r
merTools/R/parallel.R
merTools/R/subBoot.R
merTools/R/merList.R
merTools/R/merSubstEff.R
merTools/R/merExpectedRank.R
merTools/R/merPredict.R
merTools/R/merFastDisplay.R
merTools/R/merPlots.R
merTools/R/zzz.R
merTools/R/merData.R
merTools/vignettes
merTools/vignettes/Using_predictInterval.Rmd
merTools/vignettes/merToolsIntro.Rmd
merTools/README.md
merTools/MD5
merTools/build
merTools/build/vignette.rds
merTools/DESCRIPTION
merTools/man
merTools/man/buildModelMatrix.Rd
merTools/man/REquantile.Rd
merTools/man/mkNewReTrms.Rd
merTools/man/reOnly.Rd
merTools/man/hsb.Rd
merTools/man/REsim.Rd
merTools/man/RHSForm.Rd
merTools/man/shinyMer.Rd
merTools/man/stripAttributes.Rd
merTools/man/averageObs.Rd
merTools/man/expectedRank.Rd
merTools/man/formulaBuild.Rd
merTools/man/modelFixedEff.Rd
merTools/man/levelfun.Rd
merTools/man/thetaExtract.Rd
merTools/man/print.merModList.Rd
merTools/man/RMSE.merMod.Rd
merTools/man/plotREsim.Rd
merTools/man/modelInfo.Rd
merTools/man/subBoot.Rd
merTools/man/modelRandEffStats.Rd
merTools/man/randomObs.Rd
merTools/man/subsetList.Rd
merTools/man/draw.Rd
merTools/man/merModList.Rd
merTools/man/VarCorr.merModList.Rd
merTools/man/collapseFrame.Rd
merTools/man/predictInterval.Rd
merTools/man/wiggle.Rd
merTools/man/REsdExtract.Rd
merTools/man/REimpact.Rd
merTools/man/FEsim.Rd
merTools/man/reTermCount.Rd
merTools/man/merTools.Rd
merTools/man/plotFEsim.Rd
merTools/man/sanitizeNames.Rd
merTools/man/setup_parallel.Rd
merTools/man/fastdisp.Rd
merTools/man/REextract.Rd
merTools/man/REcorrExtract.Rd
merTools/man/reTermNames.Rd
merTools/man/superFactor.Rd
merTools/man/ICC.Rd
merTools/man/shuffle.Rd