Description
Variance-Covariance Matrix
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
Details
Computes the variance-covariance matrix from the posterior draws by compute the sample covariance matrix of the draws
Examples
Run this code# NOT RUN {
f <- blrm(...)
v <- vcov(f)
# }
Run the code above in your browser using DataLab