validate_prior: Validate prior specification for a model

View source: R/priors.R

validate_priorR Documentation

Validate prior specification for a model

Description

Checks that the prior specification is compatible with the model settings.

Usage

validate_prior(prior, threshold, link, link_param)

Arguments

prior

A clm_prior object or NULL

threshold

The threshold structure

link

The link function

link_param

The link parameters

Value

TRUE if valid, otherwise throws a warning


clmstan documentation built on June 29, 2026, 5:06 p.m.