Testing - QDataFrame

From Q
Jump to navigation Jump to search

Code

    form.dropBox({name: "formVar", label: "Variables", required: true, multi: true,
                  prompt: "Select variables from data sets",
                  types: ["Variable: Numeric, Categorical, OrderedCategorical"]});
frml <- QFormula(~formVar)
dat <- QDataFrame(formVar, check.names = FALSE)

var.names <- flipU::AllVariablesNames(frml, dat)
dat[, var.names]