IT-Academy

R Excel

Aug 21st, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.17 KB | None | 0 0
  1. mojeData <- read.csv(file.choose())
  2.  
  3. install.packages("ggplot2")
  4.  
  5. ggplot(data = mojeData, aes(x=carat, y=price, colour=clarity)) +
  6. geom_point(alpha = 0.1) + geom_smooth()
Advertisement
Add Comment
Please, Sign In to add comment