print: Print bayesics objects.

printR Documentation

Print bayesics objects.

Description

Print bayesics objects.

Usage

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

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

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

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

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

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

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

Arguments

x

an object used to select a method.

...

optional arguments.

Value

None

Examples


set.seed(2025)
N = 500
test_data <-
  data.frame(x1 = rnorm(N),
             x2 = rnorm(N),
             x3 = letters[1:5])
test_data$outcome <-
  rnorm(N,-1 + test_data$x1 + 2 * (test_data$x3 %in% c("d","e")) )
fit1 <-
  lm_b(outcome ~ x1 + x2 + x3,
       data = test_data)
print(fit1)



bayesics documentation built on March 11, 2026, 5:07 p.m.

Related to print in bayesics...