View source: R/methods_IVDML.R
print.IVDML | R Documentation |
Print information for an IVDML object.
## S3 method for class 'IVDML'
print(x, ...)
x |
Fitted object of class |
... |
Further arguments passed to or from other methods. |
No return value, called for side effects
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.