Learn R Programming

glmBfp (version 0.0-60)

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

Description

Convert a GlmBayesMfp object into a data frame

Usage

# S3 method for 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.

See Also

glmBayesMfp