dot-sample_sd_spec: Draw One Sample from an SD Specification

.sample_sd_specR Documentation

Draw One Sample from an SD Specification

Description

Internal helper used by brms_inla_power() to draw a per-iteration value from a distributional SD specification produced by validate_sd_spec(). Only called when is.list(spec).

Usage

.sample_sd_spec(spec)

Arguments

spec

A validated distributional list (see validate_sd_spec()).

Value

A single positive numeric draw.


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