Name of variable to be tested (numeric):
Variable containing grouping information (categoical):
If the above are elements of a data frame, list that data frame:
All set?
Here is your code: