Learn R Programming

clmstan (version 0.1.1)

validate_prior: 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)

Value

TRUE if valid, otherwise throws a warning

Arguments

prior

A clm_prior object or NULL

threshold

The threshold structure

link

The link function

link_param

The link parameters