Error in lenght(Y) : could not find function "lenght"

Hi @Emile_Bosman, welcome to RStudio Community.

caTools::sample.split() works fine for me on the iris data set. Would you mind posting a reproducible example?

1 Like