Skip to content

Commit

Permalink
Change suggestedColumns to allowedColumns
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Jul 15, 2024
1 parent f306eec commit f7c68cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inst/qml/multiVarControl.qml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Form
VariablesForm
{
AvailableVariablesList { name: "allVariablesList" }
AssignedVariablesList { name: "variables"; title: qsTr("Control Variables"); suggestedColumns: ["scale"]}
AssignedVariablesList { name: "variables"; title: qsTr("Control Variables"); allowedColumns: ["scale"]}
}


Expand Down
9 changes: 4 additions & 5 deletions inst/qml/predictiveAnalytics.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Form
name: "dependent"
id: dependent
title: qsTr("Dependent Variable")
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
singleVariable: true
info: qsTr("Time series variable to be predicted. (needed)")
}
Expand All @@ -25,7 +25,7 @@ Form
name: "time"
id: time
title: qsTr("Time")
suggestedColumns: ["nominal"]
allowedColumns: ["nominal"]
singleVariable: true
info: qsTr("Time variable that each corresponds to the time stamp of each observation. Can be in the following formats: ['YYYY-MM-DD', 'YYYY/MM/DD', 'YYYY-MM-DD HH:MM:SS', 'YYYY/MM/DD HH:MM:SS'] (needed)")
}
Expand All @@ -35,7 +35,6 @@ Form
name: "covariates"
id: covariates
title: qsTr("Covariates")
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
info: qsTr("Covariates to be used in the prediction model. (optional)")
}
Expand All @@ -45,15 +44,15 @@ Form
name: "factors"
id: factors
title: qsTr("Factors")
allowedColumns: ["ordinal", "nominal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "trainingIndicator"
id: trainingIndicatorVariable
title: qsTr("Include in Training")
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
singleVariable: true
info : qsTr("Logical variable (only 0 or 1) indicating which cases should be used for training and verifying the models (= 1) and which cases should be predicted (= 0). This variable is necessary for making predictions when covariates and factors are supplied")
}
Expand Down

0 comments on commit f7c68cb

Please sign in to comment.