Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. set.seed(123)
  2. n <- nrow(iris)
  3. indices <- sample(n, n * 0.8)
  4. treino <- iris[indices, ]
  5. teste <- iris[-indices, ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement