-
-
Save tengpeng/426f112dc888e449f64c8f19cdc41543 to your computer and use it in GitHub Desktop.
count mean by group 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(data$age, by=list(data$group), FUN=mean)[2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment