Let's say that I have the following:
colList = {"Day","Sample[Day]", "Subsample[Sample,Day]"};
And I would like to use this colList above to populate the Effects of a Fit Model:
myModel = Fit Model(
Y( :Response ),
Effects( ????? ),
//....other stuff after this
);
I've tried a couple of things, and haven't had any success.
If I just have one column that doesn't have any nesting, and I set singleColName = colList[1], then I can get it to work by doing this:
Effects(Eval(Column(dt, singleColName)));
But the full list, and the nesting in particular, is causing all kinds of headaches (i.e., I've tried converting the list of column names into a list of column references, but the nesting doesn't play well with this approach).
Thanks!