Learn R Programming

powerbrmsINLA (version 1.3.0)

.sample_sd_spec: 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)

Value

A single positive numeric draw.

Arguments

spec

A validated distributional list (see validate_sd_spec()).