Package: PowRPriori 0.2.1
PowRPriori: Power Analysis via Data Simulation for (Generalized) Linear Mixed Effects Models
Conduct a priori power analyses via Monte-Carlo style data simulation for linear and generalized linear mixed-effects models (LMMs/GLMMs). Provides a user-friendly workflow with helper functions to easily define fixed and random effects as well as diagnostic functions to evaluate the adequacy of the results of the power analysis.
Authors:
PowRPriori_0.2.1.tar.gz
PowRPriori_0.2.1.zip(r-4.7-any)PowRPriori_0.2.1.zip(r-4.6-any)PowRPriori_0.2.1.zip(r-4.5-any)
PowRPriori_0.2.1.tgz(r-4.6-any)PowRPriori_0.2.1.tgz(r-4.5-any)
PowRPriori_0.2.1.tar.gz(r-4.7-any)PowRPriori_0.2.1.tar.gz(r-4.6-any)
PowRPriori_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PowRPriori/json (API)
| # Install 'PowRPriori' in R: |
| install.packages('PowRPriori', repos = c('https://mirgll.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mirgll/powrpriori/issues
Last updated from:8c468d4435. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 194 | ||
| source / vignettes | OK | 387 | ||
| linux-release | OK | 163 | ||
| macos-release | OK | 254 | ||
| macos-oldrel | OK | 227 | ||
| windows-devel | OK | 207 | ||
| windows-release | OK | 240 | ||
| windows-oldrel | OK | 248 | ||
| wasm-release | OK | 118 |
Exports:%>%define_designfixed_effects_from_average_outcomeget_fixed_effects_structureget_random_effects_structureplot_sim_modelpower_sim
Dependencies:bootclicodetoolscpp11digestdoFuturedplyrfarverforeachfuturefuture.applygenericsggplot2globalsgluegtableisobanditeratorslabelinglatticelifecyclelistenvlme4lmerTestmagrittrMASSMatrixminqanlmenloptrnumDerivparallellypillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Internal Helper Function for Mean-Centering | .center_predictors |
| Create the Design Matrix for a Simulation | .create_design_matrix |
| Internal Data Plotting Engine | .plot_data |
| Simulate the Outcome Variable | .simulate_outcome |
| Safely Convert Character Vectors to Factors | .to_factor_safely |
| Define the Structure of a Planned Experimental Design | define_design |
| Calculate Fixed-Effects Coefficients from Mean Outcomes | fixed_effects_from_average_outcome |
| Get the Expected Fixed-Effects Structure | get_fixed_effects_structure |
| Get the Expected Random-Effects Structure | get_random_effects_structure |
| Visualize Simulation Data or Power Simulation Results | plot_sim_model plot_sim_model.formula plot_sim_model.PowRPriori |
| Perform a Power Analysis for (Generalized) Linear Mixed-Effects Models via Data Simulation | power_sim |
| Summarize a Power Simulation Result | summary.PowRPriori |
