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

Description Usage Arguments Value Author(s) See Also

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)

...

unused

freq

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

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 July 2, 2020, 2:30 a.m.