print.IVDML: Print IVDML

View source: R/methods_IVDML.R

print.IVDMLR Documentation

Print IVDML

Description

Print information for an IVDML object.

Usage

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

Arguments

x

Fitted object of class IVDML.

...

Further arguments passed to or from other methods.

Value

No return value, called for side effects

Examples

set.seed(1)
Z <- rnorm(100)
X <- Z + rnorm(100)
H <- rnorm(100)
D <- Z^2 + sin(X) + H + rnorm(100)
A <- X
Y <- tanh(A) * D + cos(X) - H + rnorm(100)
fit <- fit_IVDML(Y = Y, D = D, Z = Z, X = X, A = A, ml_method = "gam")
print(fit)


IVDML documentation built on April 3, 2025, 9:31 p.m.