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