Skip to content

Instantly share code, notes, and snippets.

@bryanyang0528
Created August 18, 2014 13:39
Show Gist options
  • Select an option

  • Save bryanyang0528/ec247eaaa8016b567f22 to your computer and use it in GitHub Desktop.

Select an option

Save bryanyang0528/ec247eaaa8016b567f22 to your computer and use it in GitHub Desktop.
R dplyr example 3
Source: local data frame [8 x 5]
Groups: sex, treatment
sex treatment variable mean sd
1 1 1 response1 0.021856280 1.0124371
2 1 1 response2 0.045928150 1.0151670
3 1 2 response1 -0.065017971 0.9825428
4 1 2 response2 0.011512867 0.9463053
5 2 1 response1 -0.005374208 1.0095468
6 2 1 response2 -0.051699624 1.0154782
7 2 2 response1 0.046622111 0.9848043
8 2 2 response2 -0.055257295 1.0134786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment