From 7a10472ee7ada80f9a810ce5b877560a18ff30ba Mon Sep 17 00:00:00 2001 From: FBartos Date: Fri, 1 Nov 2024 14:38:28 +0100 Subject: [PATCH] computedcolumnsNamesEffectSize -> computedColumnsNamesEffectSize --- R/effectsizecomputation.R | 8 ++++---- inst/qml/EffectSizeComputation.qml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/R/effectsizecomputation.R b/R/effectsizecomputation.R index 17a5ebf0..11add3b4 100644 --- a/R/effectsizecomputation.R +++ b/R/effectsizecomputation.R @@ -143,9 +143,9 @@ EffectSizeComputation <- function(jaspResults, dataset, options, state = NULL) { # columns to add if (options[["computeSamplingVariance"]]) { - columnOptions <- c("computedcolumnsNamesEffectSize", "computedcolumnsNamesSamplingVariance", "computedcolumnsNamesEffectSizeType") + columnOptions <- c("computedColumnsNamesEffectSize", "computedcolumnsNamesSamplingVariance", "computedColumnsNamesEffectSizeType") } else { - columnOptions <- c("computedcolumnsNamesEffectSize", "computedcolumnsNamesStandardError", "computedcolumnsNamesEffectSizeType") + columnOptions <- c("computedColumnsNamesEffectSize", "computedcolumnsNamesStandardError", "computedColumnsNamesEffectSizeType") } for (column in columnOptions) { @@ -158,10 +158,10 @@ EffectSizeComputation <- function(jaspResults, dataset, options, state = NULL) { jaspResults[[column]] <- createJaspColumn(columnName = columnName, dependencies = c("effectSizeType", "variables", column)) jaspResults[[column]]$setScale(switch( column, - "computedcolumnsNamesEffectSize" = dataOutput[["yi"]], + "computedColumnsNamesEffectSize" = dataOutput[["yi"]], "computedcolumnsNamesStandardError" = sqrt(dataOutput[["vi"]]), "computedcolumnsNamesSamplingVariance" = dataOutput[["vi"]], - "computedcolumnsNamesEffectSizeType" = dataOutput[["measure"]] + "computedColumnsNamesEffectSizeType" = dataOutput[["measure"]] )) } diff --git a/inst/qml/EffectSizeComputation.qml b/inst/qml/EffectSizeComputation.qml index 458ef7b0..8e226726 100644 --- a/inst/qml/EffectSizeComputation.qml +++ b/inst/qml/EffectSizeComputation.qml @@ -1027,7 +1027,7 @@ Form TextField { - name: "computedcolumnsNamesEffectSize" + name: "computedColumnsNamesEffectSize" label: qsTr("Effect size") defaultValue: "computed effect size" } @@ -1050,7 +1050,7 @@ Form TextField { - name: "computedcolumnsNamesEffectSizeType" + name: "computedColumnsNamesEffectSizeType" label: qsTr("Effect size type") defaultValue: "computed effect size type" } @@ -1059,4 +1059,4 @@ Form } -} \ No newline at end of file +}