View source: R/print.gom_bayes.R
print.gom_bayes | R Documentation |
gom_bayes
objectsPrint method for an objects of class gom_bayes.
## S3 method for class 'gom_bayes'
print(x, ...)
x |
An object with class gom_bayes. |
... |
Further arguments passed to or from other methods. |
Prints a descriptive table with the posterior lambdas organized by variables and their categories.
No return value.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.