Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > theta <- rexp(1, 10)
- > theta
- [1] 0.04778876
- > patients <- rpois(1, theta*420)
- > patients
- [1] 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement