Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. library(ggplot2)
  2.  
  3. DFF <- aggregate(eBayTrain$startprice, list(eBayTrain$productline, eBayTrain$storage, eBayTrain$color), mean)
  4. ggplot(DFF, aes(x=Group.1, y=c(Group.2, Group.3))) + geom_tile(aes(fill = x)) + geom_text(stat = "identity", aes(label = round(x,digits = 0)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement