as.data.frame.GlmBayesMfp: Convert a GlmBayesMfp object into a data frame

Description Usage Arguments Value Author(s) See Also

View source: R/GlmBayesMfp-methods.R

Description

Convert a GlmBayesMfp object into a data frame

Usage

1
2
## S3 method for class 'GlmBayesMfp'
as.data.frame(x, row.names = NULL, ..., freq = FALSE)

Arguments

x

valid GlmBayesMfp object

row.names

optional rownames (default is to keep the names of the GlmBayesMfp list)

freq

should empirical frequencies of the models in the sampling path be given? (not default)

...

unused

Value

The data frame with the following columns:

posterior

the posterior model probabilities

logMargLik

the log marginal likelihood of the models

logPrior

the log prior probabilities of the models

Additionally, for each uncertain fixed form covariates a column with the inclusion status, and for each fractional polynomial a column with the powers are returned.

Author(s)

Daniel Sabanes Bove daniel.sabanesbove@ifspm.uzh.ch

See Also

glmBayesMfp


glmBfp documentation built on June 7, 2017, 3:01 p.m.

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