dot-sample_design_prior: Sample a true effect from a design-prior specification

.sample_design_priorR Documentation

Sample a true effect from a design-prior specification

Description

Sample a true effect from a design-prior specification

Usage

.sample_design_prior(spec, n = 1L)

Arguments

spec

List with a dist element: "normal" (mean, sd), "uniform" (min, max) or "beta" (shape1, shape2).

n

Number of draws.

Value

Numeric vector of length n.


powerbrmsINLA documentation built on July 2, 2026, 5:07 p.m.