Skip to content

Instantly share code, notes, and snippets.

@mickeypash
Created March 9, 2014 19:00
Show Gist options
  • Save mickeypash/9452708 to your computer and use it in GitHub Desktop.
Save mickeypash/9452708 to your computer and use it in GitHub Desktop.
ggplot is so difficult for me
library(ggplot2)
gg.means <- data.frame(PComp=mean(prop.mean$PComp), SComp=mean(prop.mean$SComp), Unrl=mean(prop.mean$Unrl))
ggplot(melt(gg.means,id.var=c()), aes(x=,y=Value)) + geom_bar()
@mickeypash
Copy link
Author

SessionID PComp Unrl SComp
1 1 0.2364418 0.1683201 0.2195767
2 2 0.2110773 0.2745694 0.1945289
3 3 0.2843915 0.1501323 0.1742725
4 4 0.2377575 0.2124282 0.2337048
5 5 0.2043651 0.1441799 0.2853836
6 6 0.2417328 0.2245370 0.2384259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment