Analysis with user selected columns - Scripting
Trying to write a script to perform curve fitting based on user selected columns. In the example below, the goal is to fit linear with X and Y based on :Group and/or :Type. User can select either or both columns and then run the script. This is what I've got dt1 = current datatable();
sc = dt1 << get selected Columns;
scn= column (sc) << get name;
show (sc);
...
show (scn);
obj = dt1 <<Fit Curve(