1. Which of the following would print the following output ? foo bar 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE a) > x <- data.frame(foo = 1:4, bar = c(F, T, F, F)) > x b) > x <- data.frame(foo = 1:6, bar = c(F, T, F, F)) > x…
1. Which of the following would print the following output ? foo bar 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE a) > x <- data.frame(foo = 1:4, bar = c(F, T, F, F)) > x b) > x <- data.frame(foo = 1:6, bar = c(F, T, F, F)) > x…