Estimate shrunken coefficients from GlmBayesMfp object for Cox model

Share:

Description

This is an internal function to estimate shrunken coefficients from GlmBayesMfp object for Cox models. It calls sampleBma and then calculates coefficents based on a linear fit.

Usage

1
getModelCoefs(model.listpart, mcmc, sep = FALSE)

Arguments

sep

should coefficients be returned separately (default=FALSE)

models.listpart

the glmBfp object for which to construct the survival formula

...

additional arguments to pass to sampleBma

Value

A named vector of coefficients.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.