Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. afg <- read.csv(file="AALL.csv",header=TRUE)
  2. library(ggplot2)
  3. ggplot(afg,aes(afg$FG,afg$biomass,fill=afg$Year)) +
  4. geom_bar(stat="identity",position=position_dodge(0.9),color="black")
  5.  
  6. library(reshape2)
  7. afg.long <- melt(afg$Year,id="year")
  8. ggplot(afg.long,aes(afg$FG,afg$biomass,fill=afg$Year)) +
  9. geom_bar(stat="identity",position = "dodge")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement