Created
February 1, 2015 05:36
-
-
Save tengpeng/bbbfcd16a6dc4446c665 to your computer and use it in GitHub Desktop.
Cal mean by factor in R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aggregate(FruitFlies$Longevity, list(FruitFlies$Treatment), mean) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment