Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. x<-sample(c(rep(0, 1000), rep(1, 90), rep(2, 60), rep(3, 60), rep(4:7, 10)), 1000,
  2. replace=T)
  3. x<-matrix(x, 200,5)
  4. x<-x[!duplicated(x),]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement