print.ipd {ipd}R Documentation

Print IPD Fit

Description

Prints a brief summary of the IPD method/model combination.

Usage

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

Arguments

x

An object of class ipd.

...

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")

#-- Print Output

print(fit)


[Package ipd version 0.1.3 Index]