Weighting - Save Weight Variable from Configuration

From Q
Jump to navigation Jump to search

Saves a weight created by Weighting - Configure Weight from Variable(s)Insert > More > Weighting > Multiple Variables > Configure Weight from Variable(s) to the data set.


Code

includeWeb("QScript R Output Functions");
main();
function main() {
    saveVariables("Weights", "Create Weights", "as.numeric(", ")", null, true, "created.weight", "Calibrate");
}