Function Generator for Quantiles of Y for blrm
# S3 method for blrm
Quantile(object, codes = FALSE, posterior.summary = c("mean", "median"), ...)
a blrm
fit
if TRUE
, use the integer codes \(1,2,\ldots,k\) for the \(k\)-level response in computing the quantile
defaults to posterior mean; may also specify "median"
. Must be consistent with the summary used when creating lp
.
ignored
an R function
Creates a function to turn a posterior summarized linear predictor lp (e.g. using posterior mean of intercepts and slopes) computed at the reference intercept into e.g. an estimate of a quantile of Y using the posterior mean of all the intercepts