Package: simr 1.0.9-1
simr: Power Analysis for Generalised Linear Mixed Models by Simulation
Calculate power for generalised linear mixed models, using simulation. Designed to work with models fit using the 'lme4' package. Described in Green and MacLeod, 2016 <doi:10.1111/2041-210X.12504>.
Authors:
simr_1.0.9-1.tar.gz
simr_1.0.9-1.zip(r-4.7)simr_1.0.9-1.zip(r-4.6)simr_1.0.9-1.zip(r-4.5)
simr_1.0.9-1.tgz(r-4.6-any)simr_1.0.9-1.tgz(r-4.5-any)
simr_1.0.9-1.tar.gz(r-4.7-any)simr_1.0.9-1.tar.gz(r-4.6-any)
simr_1.0.9-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
simr/json (API)
| # Install 'simr' in R: |
| install.packages('simr', repos = c('https://pitakakariki.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pitakakariki/simr/issues
- simdata - Example dataset.
Last updated from:33ee7dfa8c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 195 | ||
| source / vignettes | OK | 209 | ||
| linux-release-x86_64 | OK | 188 | ||
| macos-release-arm64 | OK | 165 | ||
| macos-oldrel-arm64 | OK | 253 | ||
| windows-devel | OK | 126 | ||
| windows-release | OK | 137 | ||
| windows-oldrel | OK | 125 | ||
| wasm-release | OK | 153 |
Exports:coef<-comparedoFitdoSimdoTestextendfcomparefixedfixef<-getDatagetData<-getSimrOptionlastResultmakeGlmermakeLmerpowerCurvepowerSimrandomrcomparescale<-sigma<-simrOptionsVarCorr<-
Dependencies:abindbackportsbinombootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclelme4lmerTestlmtestmagrittrMASSMatrixMatrixModelsmgcvminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplotrixplyrpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangRLRsimS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo
Last update: 2018-04-02
Started: 2015-07-05
Last update: 2015-12-14
Started: 2015-01-27
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| simr: Simulation-based power calculations for mixed models. | simr-package simr |
| Fit model to a new response. | doFit |
| Generate simulated response variables. | doSim |
| Apply a hypothesis test to a fitted model. | doTest |
| Extend a longitudinal model. | extend |
| Get an object's data. | getData getData<- |
| Recover an unsaved simulation | lastResult |
| Create an artificial mixed model object | makeGlmer makeLmer |
| Modifying model parameters. | coef<- fixef<- modify scale<- sigma<- VarCorr<- |
| Estimate power at a range of sample sizes. | powerCurve |
| Estimate power by simulation. | powerSim |
| Report simulation results | confint.powerCurve confint.powerSim print.powerCurve print.powerSim summary.powerCurve summary.powerSim |
| Example dataset. | simdata |
| Options Settings for 'simr' | getSimrOption simrOptions |
| Specify a statistical test to apply | compare fcompare fixed random rcompare tests |
