View source: R/double_ml_data.R
double_ml_data_from_matrix | R Documentation |
Initalization of DoubleMLData from matrix()
objects.
double_ml_data_from_matrix(
X = NULL,
y,
d,
z = NULL,
cluster_vars = NULL,
data_class = "DoubleMLData",
use_other_treat_as_covariate = TRUE
)
X |
( |
y |
( |
d |
( |
z |
( |
cluster_vars |
( |
data_class |
( |
use_other_treat_as_covariate |
( |
Creates a new instance of class DoubleMLData
.
matrix_list = make_plr_CCDDHNR2018(return_type = "matrix")
obj_dml_data = double_ml_data_from_matrix(
X = matrix_list$X,
y = matrix_list$y,
d = matrix_list$d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.