Skip to content

Commit

Permalink
made the model names more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
sekulovskin committed Nov 19, 2024
1 parent 452e3ca commit c4dc529
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions inst/qml/BayesianNetworkAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ import JASP.Widgets 1.0
Form
{

VariablesForm
VariablesForm
{
AvailableVariablesList { name: "allVariablesList" }
AssignedVariablesList { name: "variables"; title: qsTr("Dependent Variables"); allowedColumns: ["ordinal", "scale"]; allowTypeChange: true; id: networkVariables}
AssignedVariablesList { name: "groupingVariable"; title: qsTr("Split"); singleVariable: true; allowedColumns: ["nominal"] }
AssignedVariablesList { name: "variables";
title: qsTr("Dependent Variables");
allowedColumns: ["ordinal", "scale"];
allowTypeChange: true;
id: networkVariables}
AssignedVariablesList { name: "groupingVariable";
title: qsTr("Split");
singleVariable: true;
allowedColumns: ["nominal"] }
}

DropDown
Expand All @@ -38,9 +45,9 @@ Form
label: qsTr("Model")
Layout.columnSpan: 2
values: [
{ value: "ggm", label: "ggm" },
{ value: "gcgm", label: "gcgm" },
{ value: "omrf", label: "omrf" }
{ value: "ggm", label: "ggm (continuous)" },
{ value: "gcgm", label: "gcgm (mixed)" },
{ value: "omrf", label: "omrf (binary/ordinal)" }
]
}

Expand Down Expand Up @@ -70,8 +77,8 @@ Form
label: qsTr("Credibility interval 95%")
checked: false
visible: model.currentValue === "omrf" // Show only when model is "omrf"
}
}
}
}
}

Group
Expand Down

0 comments on commit c4dc529

Please sign in to comment.