Learn R Programming

glmBfp (version 0.0-60)

getModelCoefs: Estimate shrunken coefficients from GlmBayesMfp object for Cox model

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

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.