From 3328e2e2e0ee135c56c41690b4982b221b053f0d Mon Sep 17 00:00:00 2001 From: jvli4n Date: Sat, 16 Nov 2024 18:46:46 +0100 Subject: [PATCH] Adding dependency & changing position of set seed 1) Adding dependency on checkbox 2) Changing position of Repeatability to be at the end after divider --- R/LSTconfidenceIntervals.R | 2 +- inst/qml/LSTconfidenceIntervals.qml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/R/LSTconfidenceIntervals.R b/R/LSTconfidenceIntervals.R index 3eec5c8..464f1be 100644 --- a/R/LSTconfidenceIntervals.R +++ b/R/LSTconfidenceIntervals.R @@ -37,7 +37,7 @@ LSTconfidenceIntervals <- function(jaspResults, dataset = NULL, options) { } .getConfidenceContainer <- function(jaspResults) { - confidenceContainer <- jaspResults[["confidenceContainer"]] %setOrRetrieve% createJaspContainer(dependencies = c("mu", "sigma", "n", "confidenceIntervalInterval", "nReps", "treePlot", "seed")) + confidenceContainer <- jaspResults[["confidenceContainer"]] %setOrRetrieve% createJaspContainer(dependencies = c("mu", "sigma", "n", "confidenceIntervalInterval", "nReps", "treePlot", "setSeed", "seed")) return(confidenceContainer) } diff --git a/inst/qml/LSTconfidenceIntervals.qml b/inst/qml/LSTconfidenceIntervals.qml index b1c09e5..ed37db5 100644 --- a/inst/qml/LSTconfidenceIntervals.qml +++ b/inst/qml/LSTconfidenceIntervals.qml @@ -63,7 +63,6 @@ Form defaultValue: 100 id:nReps } - SetSeed{} } Group { @@ -240,5 +239,7 @@ Form } } + Divider{} + SetSeed{} }