# NOT RUN {
data(dietox, package="doBy")
splitBy(formula = ~Evit + Cu, data = dietox)
splitBy(formula = c("Evit", "Cu"), data = dietox)
splitBy(~Month, data=airquality)
splitBy("Month", data=airquality)
# }
Run the code above in your browser using DataLab