Skip to contents

All functions

as241()
Inverse normal cumulative distribution function (Wichura's AS 241)
brms_bridge()
Derive a brms formula, family, and priors from a design spec
build_spec()
Build a design specification from a flat list of design inputs
default_response_name()
Default response-column name for a family
generate_r_script()
Generate a self-contained, reproducible R script from a specification
load_spec()
Load a design specification from a JSON file
make_rng()
Create a shared cross-language random-number generator
model_data()
Build the modelling data frame from a simulated data set and its specification
model_formula()
Derive the lmer formula implied by a specification
pilotr pilotr-package
pilotr: Simulate Experimental and Behavioural Data from a Portable Design Specification
pilotr_example()
Example design specifications shipped with pilotr
power_curve_mixed()
Power curve over sample size for a crossed mixed-effects design
power_design()
Simulation-based power and design analysis for a two-group Gaussian design
power_mixed()
Simulation-based power and design analysis for a crossed mixed-effects design
precision_curve()
Precision and ROPE curve over sample size
precision_design()
Precision and ROPE design analysis at a fixed sample size
run_app()
Launch the pilotr no-code app.
simulate_design()
Simulate a data set from a design specification
spec_json()
Serialise a design specification to pretty-printed JSON