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 May 19, 2017, 6:44 a.m.

Search within the glmBfp package
Search all R packages, documentation and source code