Learn R Programming

rmsb (version 1.1-1)

tauFetch: Fetch Partial Proportional Odds Parameters

Description

Fetches matrix of posterior draws for partial proportional odds parameters (taus) for a given intercept. Can also form a matrix containing both regular parameters and taus, or for just non-taus. For the constrained partial proportional odds model the function returns the appropriate cppo function value multiplied by tau (tau being a vector in this case and not a matrix).

Usage

tauFetch(fit, intercept, what = c("tau", "nontau", "both"))

Value

matrix with number of raws equal to the numnber of original draws

Arguments

fit

an object created by blrm()

intercept

integer specifying which intercept to fetch

what

specifies the result to return

Author

Frank Harrell