Scripting the same output for all levels of a categorical variable
Hi,
I have a script that performs some calculations, runs some platforms and extracts certain output, and then builds a tab box in a new window. I want to do all of this for each level of some categorical variable that the user specified in my dialog box.
Currently I create individual subsets of the data based on my grouping variable, and then loop through each of those datasets:
dtSubset = dt ...