Learn R Programming

rmsb (version 1.1-1)

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", ...)

Value

matrix

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

Author

Frank Harrell

See Also

rms::vcov.rms()

Examples

Run this code
if (FALSE) {
  f <- blrm(...)
  v <- vcov(f)
}

Run the code above in your browser using DataLab