Convert a GlmBayesMfp object into a data frame

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.