print.gom_bayes: Print for 'gom_bayes' objects

View source: R/print.gom_bayes.R

print.gom_bayesR Documentation

Print for gom_bayes objects

Description

Print method for an objects of class gom_bayes.

Usage

## S3 method for class 'gom_bayes'
print(x, ...)

Arguments

x

An object with class gom_bayes.

...

Further arguments passed to or from other methods.

Details

Prints a descriptive table with the posterior lambdas organized by variables and their categories.

Value

No return value.

Examples


data <- data.frame(x1 = round(stats::runif(n = 50, 1, 2), 0),
                   x2 = round(stats::runif(n = 50, 1, 3), 0),
                   x3 = round(stats::runif(n = 50, 1, 4), 0))

model <- gom::gom_bayes(data, ntypes = 2, ngibbs = 250, burnin = 250)

print(model)


epopea/gom documentation built on March 1, 2023, 1:54 a.m.