Skip to content

Commit

Permalink
minnumericlevels (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyDoorn authored Jun 28, 2024
1 parent c690922 commit 0f15490
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inst/qml/Ancova.qml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Form
AssignedVariablesList { name: "dependent"; title: qsTr("Dependent Variable"); allowedColumns: ["scale"]; singleVariable: true }
AssignedVariablesList { name: "fixedFactors"; title: qsTr("Fixed Factors"); allowedColumns: ["nominal"]; minLevels: 2 }
AssignedVariablesList { name: "randomFactors"; title: qsTr("Random Factors"); allowedColumns: ["nominal"]; minLevels: 2; debug: true }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"] }
AssignedVariablesList { name: "wlsWeights"; title: qsTr("WLS Weights"); allowedColumns: ["scale"]; singleVariable: true }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"]; minNumericLevels: 2 }
AssignedVariablesList { name: "wlsWeights"; title: qsTr("WLS Weights"); allowedColumns: ["scale"]; minNumericLevels: 2; singleVariable: true }
}

Classical.Display
Expand Down
2 changes: 1 addition & 1 deletion inst/qml/AncovaBayesian.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Form
AssignedVariablesList { name: "dependent"; title: qsTr("Dependent Variable"); allowedColumns: ["scale"]; singleVariable: true }
AssignedVariablesList { name: "fixedFactors"; title: qsTr("Fixed Factors"); allowedColumns: ["nominal"]; minLevels: 2}
AssignedVariablesList { name: "randomFactors"; title: qsTr("Random Factors"); allowedColumns: ["nominal"]; minLevels: 2}
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"]; id: covariates }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"]; id: covariates; minNumericLevels: 2 }
}

Bayesian.DefaultOptions { matchedModelsEnabled: additionalOptions.marginalityEnforced }
Expand Down
2 changes: 1 addition & 1 deletion inst/qml/AnovaRepeatedMeasures.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Form
FactorLevelList { name: "repeatedMeasuresFactors"; title: qsTr("Repeated Measures Factors"); height: 180 * preferencesModel.uiScale; factorName: qsTr("RM Factor") }
AssignedRepeatedMeasuresCells { name: "repeatedMeasuresCells"; title: qsTr("Repeated Measures Cells"); source: "repeatedMeasuresFactors" }
AssignedVariablesList { name: "betweenSubjectFactors"; title: qsTr("Between Subject Factors"); allowedColumns: ["nominal"]; minLevels: 2; itemType: "fixedFactors" }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"] }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"]; minNumericLevels: 2 }
}

Classical.Display
Expand Down
1 change: 1 addition & 0 deletions inst/qml/AnovaRepeatedMeasuresBayesian.qml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Form
title: qsTr("Covariates")
allowedColumns: ["scale"]
id: covariates
minNumericLevels: 2
}
}

Expand Down

0 comments on commit 0f15490

Please sign in to comment.