The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Designing studies

This vignette outlines how to capture study designs with mp_design() and assumptions with mp_assumptions().

library(mixpower)
design <- mp_design(
  clusters = list(subject = 40),
  trials_per_cell = 5,
  notes = "Baseline study layout"
)

assumptions <- mp_assumptions(
  fixed_effects = list(`(Intercept)` = 0, condition = 0.3),
  residual_sd = 1,
  icc = list(subject = 0.1)
)

design
#> <mp_design>
#>   clusters:
#>     - subject: 40
#>   trials_per_cell: 5
#>   notes: Baseline study layout
assumptions
#> <mp_assumptions>
#>   fixed_effects:
#>     - (Intercept): 0
#>     - condition: 0.3
#>   icc:
#>     - subject: 0.1
#>   residual_sd: 1

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.