Example Exercise

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