Package: simr 1.0.7-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.7-1.tar.gz
simr_1.0.7-1.zip(r-4.5)simr_1.0.7-1.zip(r-4.4)simr_1.0.7-1.zip(r-4.3)
simr_1.0.7-1.tgz(r-4.4-any)simr_1.0.7-1.tgz(r-4.3-any)
simr_1.0.7-1.tar.gz(r-4.5-noble)simr_1.0.7-1.tar.gz(r-4.4-noble)
simr_1.0.7-1.tgz(r-4.4-emscripten)simr_1.0.7-1.tgz(r-4.3-emscripten)
simr.pdf |simr.html✨
simr/json (API)
NEWS
# 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 2 years agofrom:23e6090e9c. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 03 2024 |
R-4.5-win | NOTE | Nov 03 2024 |
R-4.5-linux | NOTE | Nov 03 2024 |
R-4.4-win | OK | Nov 03 2024 |
R-4.4-mac | OK | Nov 03 2024 |
R-4.3-win | OK | Nov 03 2024 |
R-4.3-mac | OK | Nov 03 2024 |
Exports:coef<-comparedoFitdoSimdoTestextendfcomparefixedfixef<-getDatagetData<-getSimrOptionlastResultmakeGlmermakeLmerpowerCurvepowerSimrandomrcomparescale<-sigma<-simrOptionsVarCorr<-
Dependencies:abindbackportsbinombootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclelme4lmerTestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplotrixplyrpurrrquantregR6RColorBrewerRcppRcppEigenrlangRLRsimscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
simr: Simulation-based power calculations for mixed models. | simr-package |
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 |