summary.ipd | R Documentation |
Produces a summary of the IPD method/model combination.
## S3 method for class 'ipd'
summary(object, ...)
object |
An object of class |
... |
Additional arguments to be passed to the summary function. |
A list containing:
Model coefficients and related statistics.
Performance metrics of the model fit.
Additional summary information.
#-- 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")
#-- Summarize Output
summ_fit <- summary(fit)
summ_fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.