From 8e79ba25785104c138aec573eb2ac46acafc2427 Mon Sep 17 00:00:00 2001 From: Klaus Holst Date: Wed, 20 Dec 2023 14:31:53 +0100 Subject: [PATCH] bugfix: remove dependency on xgboost --- DESCRIPTION | 2 +- vignettes/influencefunction.Rmd | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index dcb6550..6db5f92 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -58,7 +58,7 @@ Suggests: polycor, quantreg, rgl, - targeted (>= 0.2), + targeted (>= 0.4), testthat (>= 0.11), visNetwork VignetteBuilder: knitr diff --git a/vignettes/influencefunction.Rmd b/vignettes/influencefunction.Rmd index 84419cd..d602aab 100644 --- a/vignettes/influencefunction.Rmd +++ b/vignettes/influencefunction.Rmd @@ -901,13 +901,13 @@ a1 IC(a1) |> head() ``` -```{r targeted2, cache=TRUE} -targeted::cate(a ~ w, - data = dw, - response_model = targeted::ML(y1 ~ x1+w+a, "xgboost.binary"), - propensity_model = targeted::ML(a ~ x1*w, "xgboost.binary") - ) -``` + + + + + + +