### Example with formula notation
data(AndersonBias)
groupwiseSum(Count ~ Result + Gender,
data = AndersonBias)
### Example with variable notation
data(AndersonBias)
groupwiseSum(data = AndersonBias,
var = "Count",
group = c("Result", "Gender"))
Run the code above in your browser using DataLab