get_sp_base_type: Get base type number for SP link

View source: R/links.R

get_sp_base_typeR Documentation

Get base type number for SP link

Description

Converts a base distribution name to the integer code used in Stan for SP link.

Usage

get_sp_base_type(base)

Arguments

base

A character string specifying the base distribution

Details

Base type mapping (symmetric distributions only, per Li et al. 2019):

  • 1: logit

  • 2: probit

  • 3: cauchit

  • 4: tlink

Value

An integer (1-6) representing the base type


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