vcov.rmsb: Variance-Covariance Matrix
Description
Computes the variance-covariance matrix from the posterior draws by compute the sample covariance matrix of the draws
Usage
# S3 method for rmsb
vcov(object, regcoef.only = TRUE, intercepts = "all", ...)
Arguments
- object
an object produced by an rms
package Bayesian fitting function
- regcoef.only
set to FALSE
to also include non-regression coefficients such as shape/scale parameters
- intercepts
set to 'all'
to include all intercepts (the default), 'none'
to exclude them all, or a vector of integers to get selected intercepts
- ...
ignored
Examples
Run this codeif (FALSE) {
f <- blrm(...)
v <- vcov(f)
}
Run the code above in your browser using DataLab