Guest User

Untitled

a guest
May 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #plotqqplotr
  2. jumRT <- data.frame(hasiltransform)
  3. colnames(jumRT)<- "jumlah_pengeluaran"
  4. attach(jumRT)
  5. View(jumRT)
  6.  
  7. library(qqplotr)
  8. plotqq <- ggplot(data = jumRT, mapping = aes(sample = jumlah_pengeluaran)) +
  9. geom_qq_band(bandType = "ts", mapping = aes(fill = "TS")) +
  10. geom_qq_band(bandType = "normal", mapping = aes(fill = "Normal")) +
  11. geom_qq_band(bandType = "boot", mapping = aes(fill = "Bootstrap")) +
  12. stat_qq_line() +
  13. stat_qq_point() +
  14. labs(x = "Theoretical Quantiles", y = "Sample Quantiles") +
  15. scale_fill_discrete("Bandtype")
  16. plotqq
Add Comment
Please, Sign In to add comment