I want to split data in training ans testing but not randomly. I want first 80% of rows should be treated as training and rest as testing.
rows=nrow(data)
index=0.80*row
train=data[1:index]
Can anybody help?
I want to split data in training ans testing but not randomly. I want first 80% of rows should be treated as training and rest as testing.
rows=nrow(data)
index=0.80*row
train=data[1:index]
Can anybody help?