print.summary.ipd {ipd} | R Documentation |
Print Summary of IPD Fit
Description
Prints a detailed summary of the IPD method/model combination.
Usage
## S3 method for class 'summary.ipd'
print(x, ...)
Arguments
x |
An object of class |
... |
Additional arguments to be passed to the print function. |
Value
The input x
, invisibly.
Examples
#-- 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")
#-- Summarize Output
summ_fit <- summary(fit)
print(summ_fit)
[Package ipd version 0.1.3 Index]