Vidyalelo
R Programming · Q8

R Programming Basics

Programming · R Programming · question 8

Q8

Which of the following is a valid way to create a numeric vector in R?

A.
c(1, 2, 3)
Answer
B.
vector(1, 2, 3)
C.
seq(1, 3)
D.
num_vec(1, 2, 3)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board