Package: rollout 0.2.0.9000

Ian Cero

rollout: Tools for Designing, Simulating, and Analyzing Implementation Rollout Trials

Provides a unified framework for designing, simulating, and analyzing implementation rollout trials, including stepped wedge, sequential rollout, head-to-head, multi-condition, and rollout implementation optimization designs. The package enables users to flexibly specify rollout schedules, incorporate site-level and nested data structures, generate outcomes under rich hierarchical models, and evaluate analytic strategies through simulation-based power analysis. By separating data generation from model fitting, the tools support assessment of bias, Type I error, and robustness to model misspecification. The workflow integrates with standard mixed-effects modeling approaches and the tidyverse ecosystem, offering transparent and reproducible tools for implementation scientists and applied statisticians.

Authors:Ian Cero [aut, cre], C. Hendricks Brown [aut]

rollout_0.2.0.9000.tar.gz
rollout_0.2.0.9000.zip(r-4.7-any)rollout_0.2.0.9000.zip(r-4.6-any)rollout_0.2.0.9000.zip(r-4.5-any)
rollout_0.2.0.9000.tgz(r-4.6-any)rollout_0.2.0.9000.tgz(r-4.5-any)
rollout_0.2.0.9000.tar.gz(r-4.7-any)rollout_0.2.0.9000.tar.gz(r-4.6-any)
rollout_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rollout/json (API)

# Install 'rollout' in R:
install.packages('rollout', repos = c('https://iancero.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/iancero/rollout/issues

Pkgdown/docs site:https://iancero.github.io

On CRAN:

Conda:

3.65 score 1 stars 3 scripts 303 downloads 20 exports 35 dependencies

Last updated from:ff14e02b5b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK146
source / vignettesOK228
linux-releaseOK139
macos-releaseOK129
macos-oldrelOK160
windows-develOK84
windows-releaseOK75
windows-oldrelOK89
wasm-releaseOK121

Exports:add_binary_outcomeadd_binomial_outcomeadd_erroradd_fixed_effectadd_linear_outcomeadd_parameteradd_poisson_outcomeadd_random_effecteval_betweeneval_biaseval_coverageeval_greater_thaneval_less_thaneval_quantileevaluate_model_resultsextract_model_resultsfit_modelsinitialize_replicatesjoin_infopivot_schedule_longer

Dependencies:backportsbroombroom.mixedclicodacodetoolscpp11digestdplyrforcatsfurrrfuturegenericsglobalsgluelatticelifecyclelistenvmagrittrnlmeparallellypbapplypillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Create a binary outcome from linear predictorsadd_binary_outcome
Create a binomial outcome from linear predictorsadd_binomial_outcome
Add an error term for simulationadd_error
Add a fixed effect column for simulationadd_fixed_effect
Create a linear outcome by summing effectsadd_linear_outcome
Expand a data frame with parameter combinations for simulationadd_parameter
Create a Poisson outcome from linear predictorsadd_poisson_outcome
Add a random effect column for simulationadd_random_effect
Compute the proportion of values within term-specific intervals within grouped simulation resultseval_between
Compute bias relative to term-specific true values within grouped simulation resultseval_bias
Compute confidence interval coverage of term-specific true values within grouped simulation resultseval_coverage
Compute the proportion of values above term-specific thresholds within grouped simulation resultseval_greater_than
Compute the proportion of values below term-specific thresholds within grouped simulation resultseval_less_than
Compute the observed quantile value for each term within grouped simulation resultseval_quantile
Summarise simulation results from extracted model estimatesevaluate_model_results
Extract and tidy model results from a column of modelsextract_model_results
Fit models in parallel across a list-column of datasetsfit_models
Add replicate identifiers for simulation replicatesinitialize_replicates
Join unit-level information to a long-format rollout schedulejoin_info
Pivot a rollout schedule from wide to long format with local time calculationpivot_schedule_longer