Learn R Programming

clmstan (version 0.1.1)

compute_probs_all: Compute category probabilities for all draws

Description

Compute category probabilities for all draws

Usage

compute_probs_all(draws, X, link, base_link_param, K, full = FALSE)

Value

Array of S x N x K probabilities

Arguments

draws

Output from extract_prediction_draws()

X

Design matrix (N x P)

link

Link function name

base_link_param

Fixed link parameters

K

Number of categories

full

Whether link parameters were estimated