nerdexam
Dell-EMC

E20-007 · Question #20

E20-007 Question #20: Real Exam Question with Answer & Explanation

Sign in or unlock E20-007 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.

Question

What does R code nv <- v[v < 1000] do?

Options

  • ARemoves elements of vector v less than 1000 and assigns the elements >= 1000 to nv
  • BSets nv to TRUE or FALSE depending on whether all elements of vector v are less than 1000
  • CSelects the values in vector v that are less than 1000 and assigns them to the vector nv
  • DSelects values of vector v less than 1000,modifies v,and makes a copy to nv

Unlock E20-007 to see the answer

You've previewed enough free E20-007 questions. Unlock E20-007 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full E20-007 Practice