Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. > theta <- rexp(1, 10)
  2. > theta
  3. [1] 0.04778876
  4. > patients <- rpois(1, theta*420)
  5. > patients
  6. [1] 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement