Guest User

Untitled

a guest
Jan 24th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. days=seq(1,5,length=100)
  2. y=numeric(100)
  3. y[1:50]=2*days[1:50]
  4. y[51:100]=rep(2*days[51],50)
  5. z=rnorm(100,0,.15)
  6. y=y+z
  7. plot(days,y)
Add Comment
Please, Sign In to add comment