Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N <- 100
- p <- c(0.7,rep(0.6,N-1))
- x <- as.numeric(runif(N)<p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement