R exercise

Chapter 5 exercise 7

Sign in to hand in your solution and get feedback.

Weekly$Direction <- as.numeric(Weekly$Direction == "Up") Weekly <- Weekly[1:200, ]