Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set.seed(123)
- n <- nrow(iris)
- indices <- sample(n, n * 0.8)
- treino <- iris[indices, ]
- teste <- iris[-indices, ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement