McqkartGet appPractise

Consider the following R code: x <- seq(10, 50, by = 10) x[c(-1, -2)][c(1, 4)] What is printed when the code is run?

A[1] 30 50
B[1] 10 40
C[1] 30 NA
D[1] 40 NA
🔒 Answer hidden — practise on Mcqkart to check yourself and see the explanation.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →