getModelCoefs: Estimate shrunken coefficients from GlmBayesMfp object for...

Description Usage Arguments Value

View source: R/getModelCoefs.R

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.


glmBfp documentation built on July 2, 2020, 2:30 a.m.