Learn R Programming

IVDML (version 1.0.1)

print.IVDML: Print IVDML

Description

Print information for an IVDML object.

Usage

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

Value

No return value, called for side effects

Arguments

x

Fitted object of class IVDML.

...

Further arguments passed to or from other methods.

Examples

Run this code
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)

Run the code above in your browser using DataLab