Guest User

Untitled

a guest
Jan 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. >library(caret)
  2. >ind=createDataPartition(Data$variable, p=2/3, list = FALSE)
  3. >train<-Data[ind,]
  4. >test<-Data[-ind,]
Add Comment
Please, Sign In to add comment