From fc7036910d9c35efabb2744454c67c252b618065 Mon Sep 17 00:00:00 2001 From: boutinb Date: Wed, 14 Feb 2024 16:44:06 +0100 Subject: [PATCH] Change Bayes factor label according to the hypothesis value --- inst/qml/BinomialTestBayesian.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/inst/qml/BinomialTestBayesian.qml b/inst/qml/BinomialTestBayesian.qml index 8e341718..6b42aa28 100644 --- a/inst/qml/BinomialTestBayesian.qml +++ b/inst/qml/BinomialTestBayesian.qml @@ -42,8 +42,9 @@ Form RadioButtonGroup { - title: qsTr("Direction") - name: "alternative" + id: alternative + title: qsTr("Direction") + name: "alternative" RadioButton { value: "twoSided"; label: qsTr("≠ Test value"); checked: true } RadioButton { value: "greater"; label: qsTr("> Test value") } RadioButton { value: "less"; label: qsTr("< Test value") } @@ -74,5 +75,5 @@ Form } } - BayesFactorType {} + BayesFactorType { correlated: alternative.value } }