Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Duration Amounts Dates
  2. 1 9 -10.735 2017-07-30
  3. 2 4 156.247 2001-12-04
  4. 3 7 97.753 2014-02-12
  5. 4 1 99.190 1999-01-22
  6. 5 2 147.192 2014-12-25
  7. 6 7 141.061 2015-01-18
  8. 7 2 129.695 2016-05-07
  9. 8 3 145.949 2014-01-12
  10. 9 1 139.107 2017-03-09
  11. 10 5 103.728 2002-02-01
  12. 11 5 0.532 2001-09-09
  13. 12 10 130.991 2003-11-26
  14. 13 6 97.194 2014-05-13
  15. 14 10 92.210 2009-09-14
  16. 15 7 26.462 2014-09-14
  17. 16 9 76.092 2003-06-27
  18. 17 5 120.897 2012-07-09
  19. 18 5 167.934 2000-04-09
  20. 19 9 94.861 2012-12-09
  21. 20 9 119.384 2014-06-15
  22.  
  23. n <- 20
  24. set.seed(1)
  25. Duration <- sample(10,size=n,replace=TRUE)
  26. Amounts <- rnorm(n,100,50)
  27. Dates <- sample(seq(as.Date('1999/01/01'), as.Date('2019/01/01'), by="day"), n,replace = TRUE)
  28.  
  29. My_Dataset <- data.frame(Duration,Amounts,Dates)
  30.  
  31. 1 2 3 4 5 ...
  32. 2000 x x x x 167.9
  33. 2001 x x x x x
  34. 2002 x x x x x
  35. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement