Sorry. I do not know how to best describe it in the title but I will try to elaborate what I currently have and what I wanted to achieve:
What I have:
So I have this function that computes for Col Min, Max and Mean
col_stats = Function( { COL_NAME }, {},
curr_dt = Cuurent Data Table();
min_val = Col Min ( curr_dt:Eval(COL_NAME));
max_val = Col Max ( curr_dt:Eval(COL_NAME));
mean_val = Col Mean ( curr_dt:Eval(COL_NAME));
Eval List({min_val, max_val, mean_val});
);What I want to achieve:
I want to be able to call the col_stat function, filtering the data using the combination of a certain list or lists.
The number of lists can change based on user, for the example below the user select temp and vcc (user can add frequency etc)
temperature = {-40, 0, 25, 100};<BR />vcc = {1.2, 1.26, 1.32};I want to be able to get the Min Max Mean using the col_stat function for
-40 and 1.20V
-40 and 1.26V
and so on.
If the number of list are known, I know I can do a double for loop to iterate thru the combination of two lists but I want to expand it in such a way that the user can add more list
Hope I explained it well.