glance.ipd | R Documentation |
Glances at the IPD method/model fit, returning a one-row summary.
## S3 method for class 'ipd'
glance(x, ...)
x |
An object of class |
... |
Additional arguments to be passed to the glance function. |
A one-row data frame summarizing the IPD method/model fit.
#-- Generate Example Data
set.seed(2023)
dat <- simdat(n = c(300, 300, 300), effect = 1, sigma_Y = 1)
head(dat)
formula <- Y - f ~ X1
#-- Fit IPD
fit <- ipd(formula, method = "postpi_analytic", model = "ols",
data = dat, label = "set_label")
#-- Glance Output
glance(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.