R exercise

Example Exercise smdm

Sign in to hand in your solution and get feedback.

# this is the code that is given to the student beforehand set.seed(1) train <- sample(nrow(Auto), floor(nrow(Auto)*0.5))