Mean.blrm {rmsb} | R Documentation |
Function Generator for Mean Y for blrm()
Description
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 mean Y using the posterior mean of all the intercept. lptau
must be provided when call the created function if the model is a partial proportional odds model.
Usage
## S3 method for class 'blrm'
Mean(object, codes = FALSE, posterior.summary = c("mean", "median"), ...)
Arguments
object |
a |
codes |
if |
posterior.summary |
defaults to posterior mean; may also specify |
... |
ignored |
Value
an R function
Author(s)
Frank Harrell
[Package rmsb version 1.1-0 Index]