From dec9845b1967e19ee6775941c5c7ae0fd261e09b Mon Sep 17 00:00:00 2001 From: maltelueken Date: Wed, 8 Nov 2023 15:25:59 +0100 Subject: [PATCH] Add text about causal effects to output --- R/classicProcess.R | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/R/classicProcess.R b/R/classicProcess.R index c035b52..c2f2b81 100644 --- a/R/classicProcess.R +++ b/R/classicProcess.R @@ -1354,6 +1354,11 @@ ClassicProcess <- function(jaspResults, dataset = NULL, options) { parEstContainer <- createJaspContainer("Parameter estimates") parEstContainer$dependOn(.procGetDependencies()) + parEstContainer[["warning"]] <- createJaspHtml(text = gettext( + "Important: Parameter estimates are causal effects and need to be treated and interpreted as such. + Causal effects are only meaningful if they are identified by the model, that is, all confounding effects are accounted for." + )) + jaspResults[["parEstContainer"]] <- parEstContainer }