| R Documentation |
Print bayesics objects.
## 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, ...)
x |
an object used to select a method. |
... |
optional arguments. |
None
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.